mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05: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