Skip to content

Commit 47fff30

Browse files
authored
fix(ts-node): support --files
1 parent 6d89332 commit 47fff30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/compiler.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ var compiler = {
102102
ignoreWarnings: options['ignoreWarnings'] || options['ignoreDiagnostics'],
103103
ignoreDiagnostics: options['ignoreDiagnostics'],
104104
disableWarnings: options['disableWarnings'],
105-
compilerOptions: compilerOptions
105+
compilerOptions: compilerOptions,
106+
files: options['files'] || true
106107
}
107108
try {
108109
register(tsNodeOptions)
@@ -169,4 +170,4 @@ var compiler = {
169170
}
170171
}
171172

172-
module.exports = compiler
173+
module.exports = compiler

0 commit comments

Comments
 (0)