Skip to content

Commit 9ea8f53

Browse files
committed
fixed error output color.
1 parent d7262a9 commit 9ea8f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/gen3-express.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const createApp = async (appName) => {
1313
await fse.copy(templatePath, destPath)
1414
console.log(`[+] Express app has been created at ${destPath}...`)
1515
} catch (error) {
16-
console.log(`[-] ${error.message}`)
16+
console.error(`[-] ${error.message}`)
1717
}
1818
}
1919

0 commit comments

Comments
 (0)