mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-29 12:31:52 -04:00
10 lines
334 B
TypeScript
10 lines
334 B
TypeScript
import { PnpmError } from '@pnpm/error'
|
|
|
|
export class IgnoredBuildsError extends PnpmError {
|
|
constructor (ignoredBuilds: string[]) {
|
|
super('IGNORED_BUILDS', `Ignored build scripts: ${ignoredBuilds.join(', ')}`, {
|
|
hint: 'Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.',
|
|
})
|
|
}
|
|
}
|