Skip to content

Commit

Permalink
styled and conventional code, #542
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 1, 2017
1 parent edcb8b3 commit 52e9b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grunt/checkoutShas.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function( grunt, repositoryName, toMaster ) {

// To execute something from a different directory:
// cp.exec( 'foocommand', { cwd: 'path/to/dir/' }, callback);
// http://stackoverflow.com/questions/14026967/calling-child-process-exec-in-node-as-though-it-was-executed-in-a-specific-folde
// http://stackoverflow.com/questions/14026967/calling-child-process-exec-in-node-as-though-it-was-executed-in-a-specific-folder
var command = 'git checkout ' + ( toMaster ? 'master' : dependencies[ dependencyName ].sha );
exec( command, { cwd: '../' + dependencyName }, function( error1 ) {
assert( !error1, 'error in ' + command + ' for repo ' + dependencyName );
Expand Down

0 comments on commit 52e9b50

Please sign in to comment.