Skip to content

Commit 856ef32

Browse files
committed
fix(dts-plugin): use double quotes for temp tsconfig path to compatible with Windows (#4236)
1 parent f53f239 commit 856ef32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dts-plugin/src/core/lib/typeScriptCompiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export const compileTs = async (
212212
});
213213
const execPromise = util.promisify(exec);
214214
const pmExecutable = resolvePackageManagerExecutable();
215-
const cmd = `${pmExecutable} ${remoteOptions.compilerInstance} --project '${tempTsConfigJsonPath}'`;
215+
const cmd = `${pmExecutable} ${remoteOptions.compilerInstance} --project "${tempTsConfigJsonPath}"`;
216216
try {
217217
await execPromise(cmd, {
218218
cwd:

0 commit comments

Comments
 (0)