postcss-cli
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -71,2 +71,5 @@ var argv = require("yargs") | ||
function onResult(result) { | ||
if (typeof result.warnings === 'function') { | ||
result.warnings().forEach(console.error); | ||
} | ||
fn(null, result); | ||
@@ -102,5 +105,9 @@ } | ||
if (err) { | ||
console.error(err); | ||
if (err.message && typeof err.showSourceCode === 'function') { | ||
console.error(err.message, err.showSourceCode()); | ||
} else { | ||
console.error(err); | ||
} | ||
process.exit(1); | ||
} | ||
}); |
{ | ||
"name": "postcss-cli", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "CLI for postcss", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
"postcss", | ||
"postcssrunner", | ||
"cli" | ||
@@ -17,0 +18,0 @@ ], |
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
6604
6
104