浏览代码

Fixed typo in git task variable.

Oskar Wrobel 9 年之前
父节点
当前提交
277ec15287
共有 1 个文件被更改,包括 2 次插入2 次删除
  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.
 	 * @param {String} branchName Name of the branch to checkout.
 	 */
 	 */
 	checkout( repositoryLocation, branchName ) {
 	checkout( repositoryLocation, branchName ) {
-		const checkoutCommand = [
+		const checkoutCommands = [
 			`cd ${ repositoryLocation }`,
 			`cd ${ repositoryLocation }`,
 			`git checkout ${ branchName }`
 			`git checkout ${ branchName }`
 		];
 		];
 
 
-		tools.shExec( checkoutCommand.join( ' && ' ) );
+		tools.shExec( checkoutCommands.join( ' && ' ) );
 	},
 	},
 
 
 	/**
 	/**