mirror of
https://github.com/appium/appium.git
synced 2026-10-26 02:29:38 +08:00
getSampleCode Windows path fix
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user