Skip to content

Commit fdf63fc

Browse files
committed
chore: show the supported versions from package json
1 parent 66c3b90 commit fdf63fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ AIOCommand.run = async (argv, opts) => {
3030
// Check Node.js version
3131
const nodeVersion = process.version
3232
if (!semver.satisfies(nodeVersion, config.pjson.engines.node)) {
33-
console.log(chalk.yellow(`⚠️ Warning: Node.js version ${nodeVersion} is not supported. Supported versions are Node.js 18, 20, and 22.`))
33+
console.log(chalk.yellow(`⚠️ Warning: Node.js version ${nodeVersion} is not supported. Supported versions are ${config.pjson.engines.node}.`))
3434
}
3535

3636
// the second parameter is the root path to the CLI containing the command

0 commit comments

Comments
 (0)