style: prettier things

This commit is contained in:
EvolutionX
2022-05-09 23:01:26 +05:30
parent 10b1a6a139
commit 020f8ebe6d
2 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ export async function init({ flags }) {
}
const node = await execa('node', ['--version']);
if ((/v1(([0-6]\.[2-9])|([0-5]\.[0-9]))/gm).test(node.stdout)) {
if (/v1(([0-6]\.[2-9])|([0-5]\.[0-9]))/gm.test(node.stdout)) {
console.log(
yellowBright(
`\nYou are using Node ${node.stdout}\nPlease upgrade to Node 16.10.x or higher!\n`