mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use Math.max instead of Math.min
This commit is contained in:
@@ -78,7 +78,7 @@ module.exports = (grunt) ->
|
||||
continue unless isAtomPackage(packagePath)
|
||||
packageSpecQueue.push(packagePath)
|
||||
|
||||
packageSpecQueue.concurrency = Math.min(1, concurrency - 1)
|
||||
packageSpecQueue.concurrency = Math.max(1, concurrency - 1)
|
||||
packageSpecQueue.drain = -> callback(null, failedPackages)
|
||||
|
||||
runCoreSpecs = (callback) ->
|
||||
|
||||
Reference in New Issue
Block a user