getSampleCode Windows path fix

This commit is contained in:
seb vincent
2014-10-29 14:48:05 +08:00
parent 7d7fa53526
commit 7944b7fc4e
+1 -1
View File
@@ -72,7 +72,7 @@ module.exports.getSampleCode = function (grunt, hardcore, cb) {
var sampleCodeGit = path.resolve(submodulesDir, "sample-code");
var sampleCodeDir = path.resolve(__dirname, "sample-code");
var sampleCodeExists = fs.existsSync(sampleCodeDir);
var updateCmd = "git submodule update --init '" + sampleCodeGit + "'";
var updateCmd = "git submodule update --init \"" + sampleCodeGit + "\"";
console.log("Cloning/updating Appium sample-code submodule");
execWithOutput(updateCmd, function (err, stdout, stderr) {
if (err) return cb(err);