Skip to content
New issue

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

zip.uncompress(source, dest, opts) dest存在的情况下,为何还要mkdirp #53

Open
mickeyZaku opened this issue Sep 9, 2020 · 0 comments

Comments

@mickeyZaku
Copy link

exports.makeUncompressFn = StreamClass => {
return (source, destDir, opts) => {
。。。

return new Promise((resolve, reject) => {
  mkdirp(destDir, err => {
    。。。

同上,destDir传入已有路径directory,依然还要mkdirp。如果机器不允许服务mkdir 会有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant