chore(release): v1.0.9

This commit is contained in:
Conventional Changelog Action
2021-01-16 09:58:41 +00:00
parent f302126b6d
commit 7499f866f0
3 changed files with 9 additions and 16 deletions

View File

@@ -21269,14 +21269,6 @@ exports.default = new (class Git {
this.commandsRun = [];
this.exec = (command) => {
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
if (IS_TEST) {
const fullCommand = `git ${command}`;
console.log(`Skipping "${fullCommand}" because of test env`);
if (!fullCommand.includes('git remote set-url origin')) {
this.commandsRun.push(fullCommand);
}
return resolve('done');
}
let execOutput = '';
const options = {
listeners: {
@@ -21290,6 +21282,7 @@ exports.default = new (class Git {
return resolve(execOutput);
}
else {
core.error(`Command "git ${command}" exited with code ${exitCode}.`);
return reject(`Command "git ${command}" exited with code ${exitCode}.`);
}
}));