Skip to content

Commit 5a151f0

Browse files
committed
fix: correct regex condition for error handling and update ESLint config to ignore dist directory
1 parent 1d005a0 commit 5a151f0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

create-arkstack/src/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export default class {
273273
'\n',
274274
)
275275
.replace(
276-
/if \(\!\(err instanceof ValidationException\) &&\n\s*!\(err instanceof ModelNotFoundException\)\) {/g,
276+
/if \(!\(err instanceof ValidationException\) &&\n\s*!\(err instanceof ModelNotFoundException\)\) {/g,
277277
'if (!(err instanceof ValidationException)) {'
278278
)
279279
.replace(

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default defineConfig(
3333
globalIgnores([
3434
'docs/.vitepress/**',
3535
'**/bin/**',
36+
'**/dist/**',
3637
'bin/**',
3738
'dist/**',
3839
'build/**',

0 commit comments

Comments
 (0)