Skip to content

Instantly share code, notes, and snippets.

@meeDamian
Created July 16, 2014 19:04
Show Gist options
  • Save meeDamian/b69762b28d5471001b81 to your computer and use it in GitHub Desktop.
Save meeDamian/b69762b28d5471001b81 to your computer and use it in GitHub Desktop.
process.argv.forEach(function(val) {
if (val.indexOf('--app-suffix') > -1) {
counter++;
}
});
counter++ for val in process.argv when -1 < val.indexOf '--app-suffix'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment