eslint-plugin-promise
Advanced tools
Comparing version 3.3.1 to 3.3.2
{ | ||
"name": "eslint-plugin-promise", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Enforce best practices for JavaScript promises", | ||
@@ -23,9 +23,6 @@ "keywords": [ | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^2.10 || ^3.0" | ||
}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
"node": ">=4" | ||
}, | ||
"license": "ISC" | ||
} |
@@ -75,3 +75,6 @@ function isFunctionWithBlockStatement (node) { | ||
var currentBranchID = peek(funcInfo.branchIDStack) | ||
funcInfo.branchInfoMap[currentBranchID].good = true | ||
if (funcInfo.branchInfoMap[currentBranchID]) { | ||
funcInfo.branchInfoMap[currentBranchID].good = true | ||
} | ||
// else unreachable code | ||
} | ||
@@ -78,0 +81,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
19236
13
361