Skip to content

Commit

Permalink
fix error for error spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
Himyu committed Apr 21, 2022
1 parent fe0c456 commit 9499b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function download (asset: Asset): Promise<void> {
})

if (dl.status !== 200) {
spinner.error(dl.statusText)
spinner.error({ text: dl.statusText})
return
}
let cwd = path.join(__dirname, '..', '..', 'modules')
Expand Down

0 comments on commit 9499b6c

Please sign in to comment.