Skip to content

Commit

Permalink
fix(allow-scripts): add corepack to bannedBins
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat authored and naugtur committed Jan 31, 2024
1 parent 8a2a93c commit cef66ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/allow-scripts/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ async function runScript({ path, event }) {
})
}

const bannedBins = new Set(['node', 'npm', 'yarn', 'pnpm'])
const bannedBins = new Set(['corepack', 'node', 'npm', 'pnpm', 'yarn'])

/**
* @param {BinCandidates} binCandidates
Expand Down

0 comments on commit cef66ec

Please sign in to comment.