Skip to content

Commit 3d40804

Browse files
hanslfilipesilva
authored andcommitted
build: fix deploy script condition (take 10)
1 parent ef68544 commit 3d40804

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/git-builds.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Executor {
8080
}
8181

8282

83-
async function main() {
83+
function main() {
8484
const cliPath = process.cwd();
8585
const cliExec = new Executor(cliPath);
8686
const tempRoot = temp.mkdirSync('angular-cli-builds');
@@ -141,6 +141,4 @@ async function main() {
141141
cliBuildsExec.git('push', '--tags');
142142
}
143143

144-
main()
145-
.then(() => console.log(green('All good. Thank you.')))
146-
.catch(err => console.log(red('Error happened. Details:\n' + err)));
144+
main();

0 commit comments

Comments
 (0)