Check for failed packages first

This commit is contained in:
Machiste Quintana
2015-06-29 23:13:17 -04:00
parent 145f45afc2
commit 348b2419b4

View File

@@ -158,4 +158,4 @@ module.exports = (grunt) ->
if process.platform is 'win32' and process.env.JANKY_SHA1
done()
else
done(not coreSpecFailed and failedPackages.length is 0)
done(not coreSpecFailed and failedPackages?.length is 0)