Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fixing issue with number of params
Browse files Browse the repository at this point in the history
  • Loading branch information
lholmquist committed Sep 19, 2016
1 parent ac3bf02 commit ac4cec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/szero.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const log = require('../lib/log-color');

const processArgs = process.argv;

if (processArgs.length > 3) {
if (processArgs.length >= 3) {
// Default the console option when calling from the command line
const options = {
consoleReporter: true
Expand Down

0 comments on commit ac4cec5

Please sign in to comment.