Skip to content

Commit

Permalink
🔧 removes a superfluous or
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Nov 24, 2016
1 parent 36d8b0e commit fc06dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function write(pOutputTo, pContent) {
function calculateExitCode(pDependencyList, pOutputType) {
const ERROR_CHROME_OFFSET = 5;

if (pOutputType !== "err" || pDependencyList.length === 0) {
if (pOutputType !== "err") {
return 0;
}
return pDependencyList.split('\n').length - ERROR_CHROME_OFFSET;
Expand Down

0 comments on commit fc06dbc

Please sign in to comment.