Default to empty arrays for user and bundled package paths

This commit is contained in:
Kevin Sawicki
2013-08-16 20:52:20 -07:00
parent 338b59dc5f
commit 3d5516fad9

View File

@@ -30,9 +30,9 @@ measure 'spec suite require time', ->
'user'
# Run bundled package specs
requireSpecs(packagePath) for packagePath in packagePaths.bundled
requireSpecs(packagePath) for packagePath in packagePaths.bundled ? []
setSpecType('bundled')
# Run user package specs
requireSpecs(packagePath) for packagePath in packagePaths.user
requireSpecs(packagePath) for packagePath in packagePaths.user ? []
setSpecType('user')