We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/cthackers/adm-zip/blob/master/zipEntry.js#L233C25-L233C25
get name() { var n = _entryName.toString(); return _isDirectory ? n .substr(n.length - 1) .split("/") .pop() : n.split("/").pop(); },
Is it wrong usage of "substr"?For example, a directory zipEntry with raw name "a/b/c/", will got a empty name.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/cthackers/adm-zip/blob/master/zipEntry.js#L233C25-L233C25
Is it wrong usage of "substr"?For example, a directory zipEntry with raw name "a/b/c/", will got a empty name.
The text was updated successfully, but these errors were encountered: