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
Careful when using path.basename, it can return an empty string depending on usage and depending on which basename method is used (there is a node.js one and a one in common from us).
Careful when using
path.basename
, it can return an empty string depending on usage and depending on which basename method is used (there is anode.js
one and a one incommon
from us).node.js
common
I am seeing some suspicious usages here and here.
Maybe do a general check for
path.basename
where a folder path is passed in as argument. This is not an issue for file paths obviously.The text was updated successfully, but these errors were encountered: