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