From 66842efd8117726600da62459aa35cd11e3972a0 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Wed, 3 Jul 2019 12:02:56 -0400
Subject: [PATCH] update regex for commit hash
---
src/services/version/version.service.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/services/version/version.service.js b/src/services/version/version.service.js
index a750b0dd17..2e11bf3a14 100644
--- a/src/services/version/version.service.js
+++ b/src/services/version/version.service.js
@@ -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] : ''
}