aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
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
parent2b38163274de9621160d54a8d809284c0b353cc4 (diff)
downloaddexon-0x-contracts-15a34dca790dc2ef25b302c2b2d50524865d2954.tar.gz
dexon-0x-contracts-15a34dca790dc2ef25b302c2b2d50524865d2954.tar.zst
dexon-0x-contracts-15a34dca790dc2ef25b302c2b2d50524865d2954.zip
Fix prettier issues
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts6
-rw-r--r--packages/monorepo-scripts/src/utils/github_release_utils.ts4
2 files changed, 7 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index d27baf5f8..d9e09bdeb 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -103,7 +103,11 @@ function getPackagesWithDocs(allUpdatedPackages: Package[]): Package[] {
return updatedPackagesWithDocPages;
}
-async function generateAndUploadDocJsonsAsync(packagesWithDocs: Package[], isStaging: boolean, shouldUploadDocs: boolean): Promise<void> {
+async function generateAndUploadDocJsonsAsync(
+ packagesWithDocs: Package[],
+ isStaging: boolean,
+ shouldUploadDocs: boolean,
+): Promise<void> {
for (const pkg of packagesWithDocs) {
const nameWithoutPrefix = pkg.packageJson.name.replace('@0xproject/', '');
const docGenerateAndUploadUtils = new DocGenerateAndUploadUtils(nameWithoutPrefix, isStaging, shouldUploadDocs);
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}`);
}