You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a lint check for suspicious code and turned up this issue. Probably the operands wanted to be in the opposite direction so that a missing filename option would default to the empty string rather than undefined. But as it's written, the '' is always falsy so it just evaluates to undefined if no filename is given.
The text was updated successfully, but these errors were encountered:
zlib.js/src/zip.js
Line 82 in 24942f5
I added a lint check for suspicious code and turned up this issue. Probably the operands wanted to be in the opposite direction so that a missing filename option would default to the empty string rather than undefined. But as it's written, the '' is always falsy so it just evaluates to undefined if no filename is given.
The text was updated successfully, but these errors were encountered: