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
I'm trying to run addLocalFolder on a folder which contains recursive symbolic links
addLocalFolder
I have a JS project, that utilises yarn workspaces and has a following structure:
root |-> worskpace-a |-> node_modules |-> worskpace-a (symlink to higher folder)
Trying to run addLocalFolder on such folder results in ENAMETOOLONG error and that's totally understandable.
ENAMETOOLONG
What I believe is an issue, is that fact, that filter function doesn't prevent this: all reachable files are collected before filter is used: https://github.com/cthackers/adm-zip/blob/master/adm-zip.js#L389
filter
Maybe addLocalFolder should support some filter for parsed folders, not only files...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to run
addLocalFolder
on a folder which contains recursive symbolic linksI have a JS project, that utilises yarn workspaces and has a following structure:
Trying to run
addLocalFolder
on such folder results inENAMETOOLONG
error and that's totally understandable.What I believe is an issue, is that fact, that
filter
function doesn't prevent this: all reachable files are collected before filter is used:https://github.com/cthackers/adm-zip/blob/master/adm-zip.js#L389
Maybe
addLocalFolder
should support some filter for parsed folders, not only files...The text was updated successfully, but these errors were encountered: