Skip to content

Commit

Permalink
Minor lint tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Feb 8, 2017
1 parent 0511085 commit 3736268
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ language: node_js

node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
- "iojs"
- "7"

matrix:
fast_finish: true
Expand Down
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ module.exports = function(grunt) {
},
options: {
beautify: {
'ascii_only': true,
'indent_start': 2,
'max_line_len': 40
ascii_only: true,
indent_start: 2,
max_line_len: 40
}
}
}
Expand Down
6 changes: 2 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ environment:
matrix:
- nodejs_version: "0.10"
platform: x86
- nodejs_version: "0.12"
platform: x86
- nodejs_version: "4"
platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "5"
platform: x86
- nodejs_version: "6"
platform: x86
- nodejs_version: "7"
platform: x86

install:
- ps: Install-Product node $env:nodejs_version $env:platform
Expand Down
6 changes: 3 additions & 3 deletions tasks/uglify.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ function relativePath(file1, file2) {
return '';
}

function reportFacility( grunt, options ){
function reportFacility(grunt, options) {
var reporter;
switch( options.report ){
switch (options.report) {
case 'none':
reporter = grunt.verbose;
break;
Expand Down Expand Up @@ -64,7 +64,7 @@ module.exports = function(grunt) {
screwIE8: true,
quoteStyle: 0
});
var log = reportFacility( grunt, options );
var log = reportFacility(grunt, options);

// Process banner.
var banner = normalizeLf(options.banner);
Expand Down

0 comments on commit 3736268

Please sign in to comment.