Permalink
Browse files

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

  • Loading branch information...
1 parent cd2ec36 commit 5b9b24b1b8031df06b06205d9dc103e21dc000e0 @davglass davglass committed Jan 11, 2013
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) {

0 comments on commit 5b9b24b

Please sign in to comment.