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

sign.json不起作用,两次运行同一个命令,没有对比sign.json中的内容,已经压缩过的,还是会再次压缩一遍 #4

Open
bibichuan opened this issue Dec 19, 2020 · 2 comments

Comments

@bibichuan
Copy link

No description provided.

@bibichuan
Copy link
Author

if (data) { tinyFile.contents = data; hasher.update(file, hasher.calc(file)); } 这里应该改成这样,判断压缩前的md5,存入sign.json文件

@bibichuan
Copy link
Author

在压缩文件夹和源文件夹不是同一个文件的情况下会出现这个问题

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