Skip to content

Commit d161abc

Browse files
committed
1 parent a6c1e2f commit d161abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const init: Interfaces.Hook<'init'> = async function (opts) {
7676
)
7777

7878
const stream = fd.createWriteStream()
79-
spawn(binPath, ['update', '--autoupdate'], {
79+
spawn(`${binPath} update --autoupdate`, {
8080
detached: !config.windows,
8181
env: autoupdateEnv,
8282
stdio: ['ignore', stream, stream],

0 commit comments

Comments
 (0)