aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/release.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/release/release.js')
-rw-r--r--build/release/release.js3
1 files changed, 2 insertions, 1 deletions
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" ) );