From 7499f866f016b71453821b5501eb2acc0ddf5b0c Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Sat, 16 Jan 2021 09:58:41 +0000 Subject: [PATCH] chore(release): v1.0.9 --- CHANGELOG.md | 14 +++++++------- index.js | 9 +-------- package.json | 2 +- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efc4dc3..05fb0da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## 1.0.9 (2021-01-16) + +* fix: better errors ([a6f8510](https://github.com/simonecorsi/mawesome/commit/a6f8510)) + + + ## 1.0.8 (2021-01-16) +* chore(release): v1.0.8 ([f8cb98f](https://github.com/simonecorsi/mawesome/commit/f8cb98f)) * fix: bad quotes in url ([4abcb32](https://github.com/simonecorsi/mawesome/commit/4abcb32)) @@ -25,10 +32,3 @@ -## 1.0.4 (2021-01-16) - -* chore(release): v1.0.4 ([37e45a3](https://github.com/simonecorsi/mawesome/commit/37e45a3)) -* fix(index.ts): fs promise fixed path ([0df413e](https://github.com/simonecorsi/mawesome/commit/0df413e)) - - - diff --git a/index.js b/index.js index a1a0691..4e9ebb8 100644 --- a/index.js +++ b/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}.`); } })); diff --git a/package.json b/package.json index 97904c9..e54bc7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mawesome", - "version": "1.0.8", + "version": "1.0.9", "description": "", "main": "index.js", "scripts": {