Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now works without arguments again

commit acd89c1153292716256a48a4ea0305b60a1afb35 1 parent e0205c4
@coolaj86 coolaj86 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/highlight-cli.js
View
2  bin/highlight-cli.js
@@ -17,7 +17,7 @@
filename = null;
}
- langArg = process.argv[langArgIndex - 1];
+ langArg = process.argv[langArgIndex - 1] || '';
if (langArg = langArg.match(/--languages(=(.*))?/)) {
langs = (process.argv[langArgIndex]||'').split(/\s*,\s*/g);
Please sign in to comment.
Something went wrong with that request. Please try again.