-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support to github gist legacy hash length
In a previous refactor we add a length count to strict a little bit more the regex that identifies gists, unfortunately it drops support to legacy gists that had less than 32 characters hashes, ref: d5cf830 This changeset fixes it by reducing that count to 7 (which is the smallest hash length found in tests from our package ecosystem) that seems to have been in use until at least late-2012. PR-URL: #68 Credit: @ruyadorno Close: #68 Reviewed-by: @darcyclarke
- Loading branch information
1 parent
c53c6ab
commit c067102
Showing
2 changed files
with
40 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters