aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-15 06:44:09 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-05-15 06:44:09 +0800
commitc520b7f1fb599b98878e4755d509b566ab959b05 (patch)
tree73d680a27198462c8b8f665d85f85739162708a2 /packages/monorepo-scripts/src
parent5422bf57332f69d7b45e884c19a9f20d60bdec5b (diff)
downloaddexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar.gz
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar.bz2
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar.lz
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar.xz
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.tar.zst
dexon-sol-tools-c520b7f1fb599b98878e4755d509b566ab959b05.zip
Apply prettier to some files which were not formatted correctly
Diffstat (limited to 'packages/monorepo-scripts/src')
-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;