Skip to content

Commit 705c899

Browse files
committed
fix: revert CI change
1 parent 0aa7a96 commit 705c899

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/utils.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -345,18 +345,8 @@ export async function everyMonorepoProject (projectDir, fn, opts) {
345345
inDegree.set(name, project.siblingDependencies.length)
346346
}
347347

348-
let concurrency = opts?.concurrency
349-
350-
if (concurrency == null && process.env.CI != null) {
351-
concurrency = 1
352-
}
353-
354-
if (concurrency == null) {
355-
concurrency = os.availableParallelism?.() ?? os.cpus().length
356-
}
357-
358348
const queue = new PQueue({
359-
concurrency
349+
concurrency: opts?.concurrency ?? os.availableParallelism?.() ?? os.cpus().length
360350
})
361351

362352
while (inDegree.size) {

0 commit comments

Comments
 (0)