From 97fa689a2e07114fc6e827994a2b9dea7373e8d2 Mon Sep 17 00:00:00 2001 From: Ben Siggery Date: Wed, 27 Nov 2024 14:59:33 +0000 Subject: [PATCH] correct linting --- .../generator-pie-component/src/app/index.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/tools/generator-pie-component/src/app/index.ts b/packages/tools/generator-pie-component/src/app/index.ts index f6ebf36c14..d6464c0d08 100644 --- a/packages/tools/generator-pie-component/src/app/index.ts +++ b/packages/tools/generator-pie-component/src/app/index.ts @@ -31,7 +31,9 @@ export default class extends Generator { } async writing () { - const { fileName, componentPath, storyPath, testStoryPath } = this.props; + const { + fileName, componentPath, storyPath, testStoryPath, + } = this.props; const processDestinationPath = (filePath: string) => filePath.replace(/\b(placeholder)\b/g, fileName).replace(/__/g, ''); this.fs.copyTpl( @@ -54,12 +56,12 @@ export default class extends Generator { ); this.fs.copyTpl( - this.templatePath('**/pie-placeholder.__test__.__stories__.ts'), - this.destinationPath(testStoryPath), - this.props, - undefined, - { processDestinationPath }, - ); + this.templatePath('**/pie-placeholder.__test__.__stories__.ts'), + this.destinationPath(testStoryPath), + this.props, + undefined, + { processDestinationPath }, + ); // Update YAML and config files this._addPercyTokenEnvVar();