Comparing version 0.6.1 to 0.6.2
@@ -19,3 +19,3 @@ "use strict"; | ||
var project = options.project, noProject = options.noProject; | ||
var fileName = noProject ? undefined : path_1.resolve(ts.findConfigFile(project || cwd, ts.sys.fileExists)); | ||
var fileName = noProject ? undefined : ts.findConfigFile(project || cwd, ts.sys.fileExists); | ||
var result = fileName ? ts.readConfigFile(fileName, ts.sys.readFile) : { | ||
@@ -40,3 +40,3 @@ config: { | ||
}); | ||
var basePath = path_1.dirname(path_1.resolve(fileName)); | ||
var basePath = fileName ? path_1.dirname(path_1.resolve(fileName)) : cwd; | ||
if (typeof ts.parseConfigFile === 'function') { | ||
@@ -43,0 +43,0 @@ return ts.parseConfigFile(result.config, ts.sys, basePath); |
{ | ||
"name": "ts-node", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"preferGlobal": true, | ||
@@ -5,0 +5,0 @@ "description": "TypeScript execution environment and REPL for node", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47313