Permalink
Browse files

Flip guard

  • Loading branch information...
1 parent f846be4 commit 3e25e99f5be897ed994c9d439a7cac8bf1809792 @michaelnisi committed Mar 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/cli.js
View
@@ -8,9 +8,9 @@ var blake = require('../index.js')
;(function () {
var arg = process.argv.splice(2)
- , isValid = !(arg && arg.length >= 2)
+ , isValid = arg && arg.length >= 2
- if (isValid) {
+ if (!isValid) {
return console.error('Usage: blake source_directory target_directory [source_file ...]');
}

0 comments on commit 3e25e99

Please sign in to comment.