Skip to content

Commit d6ca55a

Browse files
committed
small fix
1 parent 968ede3 commit d6ca55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/safe-npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const askQuestion = (rl, query) => {
4141
addAlias(zshBashFile)
4242
}
4343
} catch (e) {
44-
throw new Error('There was an issue setting up the alias.', { cause: e })
44+
throw new Error(`There was an issue setting up the alias: ${e}`)
4545
}
4646
rl.close()
4747
} else if (ans.toLowerCase() !== 'n') {

0 commit comments

Comments
 (0)