Browse Source

Merge pull request #676 from mkroehnert/grunt-verbose

Grunt: '-v'/'--verbose' cmd line flag now makes compiler output verbose (fix #653)
Manfred Kröhnert 10 năm trước cách đây
mục cha
commit
931b270849
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      grunt/tasks/grunt-amberc.js

+ 1 - 1
grunt/tasks/grunt-amberc.js

@@ -35,7 +35,7 @@ module.exports = function(grunt) {
     var options = this.options({
       amber_dir: undefined,
       closure_jar: '',
-      verbose: false
+      verbose: grunt.option('verbose') || false
     });
     this.data.verbose = options.verbose;