Apply prettier to some files which were not formatted correctly
This commit is contained in:
@@ -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`;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user