Skip to content

Fix autoupdate.ps1 for single line hash extraction#3015

Merged
r15ch13 merged 2 commits intoScoopInstaller:masterfrom
niheaven:fix-autoupdate
Jan 21, 2019
Merged

Fix autoupdate.ps1 for single line hash extraction#3015
r15ch13 merged 2 commits intoScoopInstaller:masterfrom
niheaven:fix-autoupdate

Conversation

@niheaven
Copy link
Copy Markdown
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