diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/.jshintrc | 13 | ||||
-rw-r--r-- | build/release/release.js | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/build/.jshintrc b/build/.jshintrc new file mode 100644 index 000000000..9e6abf31d --- /dev/null +++ b/build/.jshintrc @@ -0,0 +1,13 @@ +{ + "curly": true, + "eqnull": true, + "eqeqeq": true, + "expr": true, + "noarg": true, + "node": true, + "onevar": true, + "smarttabs": true, + "strict": false, + "trailing": true, + "undef": true +} diff --git a/build/release/release.js b/build/release/release.js index 9a0f9a9e7..0acd33256 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +/*global cat:true echo:true exec:true exit:true cd:true*/ var baseDir, repoDir, prevVersion, newVersion, nextVersion, tagTime, fs = require( "fs" ), @@ -250,7 +251,7 @@ function gatherContributors() { echo ( "Adding people thanked in commits..." ); contributors = contributors.concat( gitLog( "%b%n%s" ).filter(function( line ) { - return /thank/i.test( line ); + return (/thank/i).test( line ); })); fs.writeFileSync( contributorsPath, contributors.join( "\n" ) ); |