From 3d9545ad2719853a075a00646458dfc679074d72 Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 3 Oct 2012 21:23:20 -0400 Subject: Update lint task to include the release script. --- build/release/release.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build/release') 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" ) ); -- cgit v1.2.3