Stylistic tweaks

This commit is contained in:
Douwe Maan
2017-02-23 09:27:36 -06:00
parent 6f5cd03fcb
commit f88ff0cc0c
6 changed files with 21 additions and 21 deletions

View File

@ -42,7 +42,7 @@ module ExtractsPath
return pair unless @project
if id =~ /^([[:alnum:]]{40})(.+)/
if id =~ /^(\h{40})(.+)/
# If the ref appears to be a SHA, we're done, just split the string
pair = $~.captures
else