aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-23 20:58:49 +0800
committerFabio Berger <me@fabioberger.com>2018-08-23 20:58:49 +0800
commit15a34dca790dc2ef25b302c2b2d50524865d2954 (patch)
tree009d1be605a6356367ecea00096b67c8f023985c /packages/monorepo-scripts/src/utils
parent2b38163274de9621160d54a8d809284c0b353cc4 (diff)
downloaddexon-sol-tools-15a34dca790dc2ef25b302c2b2d50524865d2954.tar.gz
dexon-sol-tools-15a34dca790dc2ef25b302c2b2d50524865d2954.tar.zst
dexon-sol-tools-15a34dca790dc2ef25b302c2b2d50524865d2954.zip
Fix prettier issues
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r--packages/monorepo-scripts/src/utils/github_release_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/utils/github_release_utils.ts b/packages/monorepo-scripts/src/utils/github_release_utils.ts
index 43d0d9fc3..9b5b26d7e 100644
--- a/packages/monorepo-scripts/src/utils/github_release_utils.ts
+++ b/packages/monorepo-scripts/src/utils/github_release_utils.ts
@@ -24,13 +24,13 @@ export async function publishReleaseNotesAsync(updatedPublishPackages: Package[]
try {
await execAsync(`git tag ${tagName}`);
} catch (err) {
- if (_.includes(err.message, 'already exists')) {
+ if (_.includes(err.message, 'already exists')) {
// Noop tag creation since already exists
} else {
throw err;
}
}
- const {stdout} = await execAsync(`git ls-remote --tags origin refs/tags/${tagName}`);
+ const { stdout } = await execAsync(`git ls-remote --tags origin refs/tags/${tagName}`);
if (_.isEmpty(stdout)) {
await execAsync(`git push origin ${tagName}`);
}