Skip to content

Commit

Permalink
chore(grunt): remove unnecessary white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi authored and btford committed Mar 5, 2014
1 parent d07101d commit 2036fb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/grunt/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ var getRandomPorts = function() {
var getPackage = function() {
if ( !pkg ) {

// Search up the folder hierarchy for the first package.json
// Search up the folder hierarchy for the first package.json
var packageFolder = path.resolve('.');
while ( !fs.existsSync(path.join(packageFolder, 'package.json')) ) {
var parent = path.dirname(packageFolder);
if ( parent === packageFolder) { break; }
packageFolder = parent;
}
pkg = JSON.parse(fs.readFileSync(path.join(packageFolder,'package.json'), 'UTF-8'));

}

return pkg;
Expand Down Expand Up @@ -225,7 +225,7 @@ module.exports = {
},


updateWebdriver: function(done){
updateWebdriver: function(done){
if (process.env.TRAVIS) {
// Skip the webdriver-manager update on Travis, since the browsers will
// be provided remotely.
Expand Down

0 comments on commit 2036fb1

Please sign in to comment.