summaryrefslogtreecommitdiff
path: root/source/libs/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r--source/libs/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts
index 68e23594..c3e2bc90 100644
--- a/source/libs/utils.ts
+++ b/source/libs/utils.ts
@@ -45,7 +45,7 @@ export const getCurrentBranch = (): string => {
.split('/')
.slice(6)
.join('/')
- .replace(/\.atom$/, '');
+ .replace(/\.atom.*/, '');
};
export const getRepoURL = (): string => location.pathname.slice(1).split('/', 2).join('/');