Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 36093af

Browse files
committed
process.cwd()
1 parent 3d8e38e commit 36093af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loadCompilerOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as ts from "typescript";
22

33
export const loadCompilerOptions = (): ts.CompilerOptions => {
4-
const configFileName = ts.findConfigFile("", ts.sys.fileExists);
4+
const configFileName = ts.findConfigFile(process.cwd(), ts.sys.fileExists);
55
if (!configFileName) {
66
throw new Error("Could not find config file!");
77
}

0 commit comments

Comments
 (0)