chore(release): v1.0.9
This commit is contained in:
9
index.js
9
index.js
@@ -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}.`);
|
||||
}
|
||||
}));
|
||||
|
Reference in New Issue
Block a user