Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed an issue with not passing --no-lint down to pre/postbuilds

  • Loading branch information...
commit 5b9b24b1b8031df06b06205d9dc103e21dc000e0 1 parent cd2ec36
@davglass davglass authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/builder.js
View
3  lib/builder.js
@@ -42,6 +42,9 @@ var prebuild = function (jobs, options, callback) {
args.push('--lint');
args.push(options.lint);
}
+ if (options.lint === false) {
+ args.push('--no-lint');
+ }
if (options.uglify) {
args.push('--uglify');
if (options.semi === false) {
Please sign in to comment.
Something went wrong with that request. Please try again.