From: Chris Rebert Date: Mon, 14 Dec 2015 09:28:22 +0000 (-0800) Subject: grunt/change-version.js:replaceRecursively(): Use accidentally-unused argument X-Git-Tag: v4.0.0-alpha.3~492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cb503e6306116bce6de78c8b7436a13db851fab;p=thirdparty%2Fbootstrap.git grunt/change-version.js:replaceRecursively(): Use accidentally-unused argument How did the linters miss this? [skip sauce] [skip validator] --- diff --git a/grunt/change-version.js b/grunt/change-version.js index 02807e176e..8808d26539 100755 --- a/grunt/change-version.js +++ b/grunt/change-version.js @@ -67,7 +67,7 @@ function replaceRecursively(directory, excludedDirectories, allowedExtensions, o console.log('EXCLUDED:' + filepath); } }); - walkAsync('.', excludedDirectories, updateFile, function (err) { + walkAsync(directory, excludedDirectories, updateFile, function (err) { console.error('ERROR while traversing directory!:') console.error(err); process.exit(1);