Skip to content

Commit

Permalink
#28117 RequireJS resolver sometimes fails to detect blocked resources
Browse files Browse the repository at this point in the history
Fix static tests
  • Loading branch information
ihor-sviziev authored Jul 29, 2020
1 parent 8602bef commit 375b129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/mage/requirejs/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ define([
}

return module.depCount >
(_.filter(module.depMaps, isRejected).length + _.filter(module.depMaps, isPathFallback).length);
_.filter(module.depMaps, isRejected).length + _.filter(module.depMaps, isPathFallback).length;
}

/**
Expand Down

0 comments on commit 375b129

Please sign in to comment.