Browse Source

Fixed typo in git task variable.

Oskar Wrobel 9 years ago
parent
commit
277ec15287
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dev/tasks/dev/utils/git.js

+ 2 - 2
dev/tasks/dev/utils/git.js

@@ -72,12 +72,12 @@ module.exports = {
 	 * @param {String} branchName Name of the branch to checkout.
 	 */
 	checkout( repositoryLocation, branchName ) {
-		const checkoutCommand = [
+		const checkoutCommands = [
 			`cd ${ repositoryLocation }`,
 			`git checkout ${ branchName }`
 		];
 
-		tools.shExec( checkoutCommand.join( ' && ' ) );
+		tools.shExec( checkoutCommands.join( ' && ' ) );
 	},
 
 	/**