update regex for commit hash

feat/more-aggressive-user-search
taehoon 5 years ago
parent 60b413d02c
commit 66842efd81

@ -1,6 +1,6 @@
export const extractCommit = versionString => {
const regex = /-g(\w+)$/i
const regex = /-g(\w+)/i
const matches = versionString.match(regex)
return matches ? matches[1] : ''
}

Loading…
Cancel
Save