chore(release): v1.0.9
This commit is contained in:
parent
f302126b6d
commit
7499f866f0
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,5 +1,12 @@
|
||||
## <small>1.0.9 (2021-01-16)</small>
|
||||
|
||||
* fix: better errors ([a6f8510](https://github.com/simonecorsi/mawesome/commit/a6f8510))
|
||||
|
||||
|
||||
|
||||
## <small>1.0.8 (2021-01-16)</small>
|
||||
|
||||
* 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 @@
|
||||
|
||||
|
||||
|
||||
## <small>1.0.4 (2021-01-16)</small>
|
||||
|
||||
* 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))
|
||||
|
||||
|
||||
|
||||
|
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}.`);
|
||||
}
|
||||
}));
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mawesome",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user