summaryrefslogtreecommitdiff
path: root/source/features/go-to-action-from-file.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/go-to-action-from-file.tsx')
-rw-r--r--source/features/go-to-action-from-file.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/go-to-action-from-file.tsx b/source/features/go-to-action-from-file.tsx
index 5b290c9c..87a881df 100644
--- a/source/features/go-to-action-from-file.tsx
+++ b/source/features/go-to-action-from-file.tsx
@@ -1,7 +1,7 @@
import React from 'dom-chef';
import select from 'select-dom';
+import * as pageDetect from 'github-url-detection';
import features from '../libs/features';
-import * as pageDetect from '../libs/page-detect';
import {getRepoURL, getRepoPath} from '../libs/utils';
const isWorkflowFile = (): boolean => pageDetect.isSingleFile() && /\/\.github\/workflows\/.+\.ya?ml$/.test(getRepoPath()!);