Skip to content

Commit 428c47c

Browse files
authored
Update CommandLineParser.ts
1 parent a4417ff commit 428c47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function findConfigFile(commandLine: ts.ParsedCommandLine) {
162162
if (path.isAbsolute(commandLine.options.project)) {
163163
configPath = commandLine.options.project;
164164
} else {
165-
path.join(process.cwd(), commandLine.options.project);
165+
configPath = path.join(process.cwd(), commandLine.options.project);
166166
}
167167
if (fs.statSync(configPath).isDirectory()) {
168168
configPath = path.join(configPath, "tsconfig.json");

0 commit comments

Comments
 (0)