|
|
@ -55,9 +55,7 @@ function getBranch() { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
module.exports = { |
|
|
|
up() { |
|
|
|
async () => { |
|
|
|
async function up() { |
|
|
|
if (haveGit) { |
|
|
|
exec('git remote', function (error, stdout, stderr) { |
|
|
|
// 获取命令执行的输出
|
|
|
@ -158,5 +156,7 @@ module.exports = { |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
up(); |
|
|
|
module.exports = { |
|
|
|
up |
|
|
|
} |