Skip to content

Commit 585bfb9

Browse files
committed
fix(@sirutils/wizard): ignore secret key rule
1 parent 0a4529b commit 585bfb9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/wizard/src/utils/internals/error.ts

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class WizardRegenerator extends Errors.Regenerator {
2020
}
2121

2222
return {
23+
// biome-ignore lint/nursery/noSecrets: <explanation>
2324
...ProjectError.create(wizardTags.unexpected, 'WizardRegenerator').appendData(err),
2425
}
2526
}

packages/wizard/test/handler.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ProjectError } from '@sirutils/core'
33
import { logger } from '../src/internal/logger'
44

55
process
6+
// biome-ignore lint/nursery/noSecrets: <explanation>
67
.on('unhandledRejection', (_reason, p) => {
78
if (p instanceof ProjectError) {
89
p.appendCause('?handler')
@@ -11,6 +12,7 @@ process
1112
logger.error(p)
1213
}
1314
})
15+
// biome-ignore lint/nursery/noSecrets: <explanation>
1416
.on('uncaughtException', err => {
1517
if (err instanceof ProjectError) {
1618
err.appendCause('?handler')

0 commit comments

Comments
 (0)