breautek commented on a change in pull request #888:
URL: https://github.com/apache/cordova-lib/pull/888#discussion_r741000178



##########
File path: spec/plugman/util/metadata.spec.js
##########
@@ -32,6 +32,7 @@ const fsMock = {
 };
 
 // expect fsMock to only operate on fetchJsonPath
+// eslint-disable-next-line
 Object.entries(fsMock).map(([key, fn]) => {

Review comment:
       Yah, `map` is for creating a new list out of another list... so if the 
goal was simply iterate then `forEach` is definitely what should have been used.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to