mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-15 20:16:07 -04:00
perf: don't use await inside loops (#6617)
This commit is contained in:
@@ -244,6 +244,7 @@ test.each([
|
||||
// shouldn't affect its arg parsing. Test both scenarios for good measure.
|
||||
const input = [...(testWithCommandFallback ? [] : ['run']), ...testInput.split(' ')]
|
||||
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
const { options, cmd, params, fallbackCommandUsed } = await parseCliArgs({
|
||||
...DEFAULT_OPTS,
|
||||
fallbackCommand: 'run',
|
||||
|
||||
Reference in New Issue
Block a user