mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-10 17:04:36 +00:00
chore: add cross icon at the start of error message
This commit is contained in:
@@ -3,7 +3,7 @@ if (result && result.node) {
|
|||||||
if (parseInt(result.node) < 14) {
|
if (parseInt(result.node) < 14) {
|
||||||
console.log(
|
console.log(
|
||||||
'\x1b[31m%s\x1b[0m',
|
'\x1b[31m%s\x1b[0m',
|
||||||
`Process failed due to Node Version,\nPlease install and use Node Version >= 14\nYour current Node Version is: ${result.node}`
|
`❌ Process failed due to Node Version,\nPlease install and use Node Version >= 14\nYour current Node Version is: ${result.node}`
|
||||||
)
|
)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user