Comparing version 1.0.9 to 1.0.10
@@ -29,3 +29,12 @@ #!/usr/bin/env node | ||
}); | ||
} catch (err) {} | ||
} catch (err) { | ||
let newErr = []; | ||
err.message.split(/\n/g).map((c) => newErr.push(c)); | ||
newErr.map(f => { | ||
if (["\n", "\u200b", ""].includes(f)) { | ||
} else { | ||
return console.log(`${chalk.bgRedBright(`ERROR!`)} ${f}`); | ||
} | ||
}) | ||
} | ||
}); | ||
@@ -32,0 +41,0 @@ rl.on("close", () => { |
{ | ||
"name": "consel", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1888
53