diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 16:22:22 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-15 16:22:22 +0800 |
commit | fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1 (patch) | |
tree | 5e58c147dc8cdf7cf2af2edd6a13b8dde904b2fe /packages/monorepo-scripts | |
parent | a7031602261379a12fe0889230f1207e5ab322c4 (diff) | |
parent | ca08dd9705c2aefb092b10926af359ed8fabac79 (diff) | |
download | dexon-0x-contracts-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.gz dexon-0x-contracts-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.zst dexon-0x-contracts-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.zip |
Merge development
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/postpublish_utils.ts | 7 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/utils.ts | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index 5fbff938e..22614f01b 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -164,7 +164,12 @@ export const postpublishUtils = { }); return fileIncludesAdjusted; }, - async generateAndUploadDocsAsync(cwd: string, fileIncludes: string[], version: string, S3BucketPath: string): Promise<void> { + async generateAndUploadDocsAsync( + cwd: string, + fileIncludes: string[], + version: string, + S3BucketPath: string, + ): Promise<void> { const fileIncludesAdjusted = this.adjustFileIncludePaths(fileIncludes, cwd); const projectFiles = fileIncludesAdjusted.join(' '); const jsonFilePath = `${cwd}/${generatedDocsDirectoryName}/index.json`; diff --git a/packages/monorepo-scripts/src/utils.ts b/packages/monorepo-scripts/src/utils.ts index 480788ad8..c2d92c86a 100644 --- a/packages/monorepo-scripts/src/utils.ts +++ b/packages/monorepo-scripts/src/utils.ts @@ -43,7 +43,7 @@ export const utils = { } return updatedPackages; }, - getChangelogJSONIfExists(changelogPath: string): string|undefined { + getChangelogJSONIfExists(changelogPath: string): string | undefined { try { const changelogJSON = fs.readFileSync(changelogPath, 'utf-8'); return changelogJSON; |