Skip to content

Commit c685420

Browse files
committed
show current node version in Node.js 21 warning
1 parent 381296d commit c685420

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/hsm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const colourW = chalk.rgb(0xFF, 0x96, 0xE0)
8787
if (process.version.startsWith(`v21.`)) {
8888
console.warn(colourF(`\
8989
Warning: Support for Node.js 21 will be dropped in the next minor version of HSM
90+
Your current version of Node.js is ${chalk.bold(process.version)}
9091
You should update your version of Node.js
9192
https://nodejs.org/en/download/package-manager`
9293
))

0 commit comments

Comments
 (0)