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

Fix autoupdate.ps1 for single line hash extraction #3015

Merged
merged 2 commits into from
Jan 21, 2019

Conversation

niheaven
Copy link
Member

Fix a bug introduced in #2996 that single line hash extraction is broken.

When find_hash_in_textfile() is called in get_hash_for_app(), $null is used as $regex value for default single line hash extraction and the default value ('^([a-fA-F0-9]+)$') is overriden, which leads a error of "hash not found".

@r15ch13 r15ch13 merged commit ef343d7 into ScoopInstaller:master Jan 21, 2019
@niheaven niheaven deleted the fix-autoupdate branch January 21, 2019 10:46
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

Successfully merging this pull request may close these issues.

2 participants