diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-15 09:41:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-15 09:41:45 +0800 |
commit | 0457c959dd5886177544de6c34d5d99ae813bf09 (patch) | |
tree | 73d680a27198462c8b8f665d85f85739162708a2 | |
parent | 5422bf57332f69d7b45e884c19a9f20d60bdec5b (diff) | |
parent | c520b7f1fb599b98878e4755d509b566ab959b05 (diff) | |
download | dexon-0x-contracts-0457c959dd5886177544de6c34d5d99ae813bf09.tar.gz dexon-0x-contracts-0457c959dd5886177544de6c34d5d99ae813bf09.tar.zst dexon-0x-contracts-0457c959dd5886177544de6c34d5d99ae813bf09.zip |
Merge pull request #590 from 0xProject/fix-prettier
Apply prettier to some files which were not formatted correctly
-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; |