Skip to content

Commit e023346

Browse files
committed
Fix performance of tsProject.src(), fix #282
1 parent ebed5bf commit e023346

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class Project {
111111
// Exclude files
112112
this.config.exclude.map(file => '!' + path.resolve(configPath, file)),
113113
// Exclude directories
114-
this.config.exclude.map(file => '!' + path.resolve(configPath, file) + '/**/*')
114+
this.config.exclude.map(file => '!' + path.resolve(configPath, file) + '/**')
115115
);
116116
}
117117
if (base !== undefined) {

release/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var Project = (function () {
5252
// Exclude files
5353
this.config.exclude.map(function (file) { return '!' + path.resolve(configPath, file); }),
5454
// Exclude directories
55-
this.config.exclude.map(function (file) { return '!' + path.resolve(configPath, file) + '/**/*'; }));
55+
this.config.exclude.map(function (file) { return '!' + path.resolve(configPath, file) + '/**'; }));
5656
}
5757
if (base !== undefined) {
5858
return vfs.src(files_1, { base: base });

0 commit comments

Comments
 (0)