aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-15 09:41:45 +0800
committerGitHub <noreply@github.com>2018-05-15 09:41:45 +0800
commit0457c959dd5886177544de6c34d5d99ae813bf09 (patch)
tree73d680a27198462c8b8f665d85f85739162708a2
parent5422bf57332f69d7b45e884c19a9f20d60bdec5b (diff)
parentc520b7f1fb599b98878e4755d509b566ab959b05 (diff)
downloaddexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar
dexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar.gz
dexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar.bz2
dexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar.lz
dexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar.xz
dexon-sol-tools-0457c959dd5886177544de6c34d5d99ae813bf09.tar.zst
dexon-sol-tools-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.ts7
-rw-r--r--packages/monorepo-scripts/src/utils.ts2
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;