Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "solhint", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Solidity Code Linter", | ||
@@ -5,0 +5,0 @@ "main": "solhint.js", |
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
async function execMainAction () { | ||
function execMainAction () { | ||
const pathPromises = program | ||
@@ -45,6 +45,9 @@ .args | ||
const reports = _.flatten(await Promise.all(pathPromises)); | ||
printReports(reports, program.formatter); | ||
exitWithCode(reports); | ||
Promise | ||
.all(pathPromises) | ||
.then(items => _.flatten(items)) | ||
.then(reports => { | ||
printReports(reports, program.formatter); | ||
exitWithCode(reports); | ||
}); | ||
} | ||
@@ -51,0 +54,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
1360460
65
19262