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 1 additions and 0 deletions

BIN
dist/index.js vendored

Binary file not shown.

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'],
})