Forgot to specify working directory

This commit is contained in:
khai96_ 2021-03-23 12:48:54 +07:00
parent 0db7fb9961
commit 7c4472dbcf
2 changed files with 2 additions and 1 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,7 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
await writeFile(pkgJson, JSON.stringify({ private: true }))
const cp = spawn(execPath, ['-', 'install', target, '--no-lockfile'], {
cwd: dest,
stdio: ['pipe', 'inherit', 'inherit'],
})