diff options
author | 2020-05-08 01:42:40 +0200 | |
---|---|---|
committer | 2020-05-08 01:42:40 +0200 | |
commit | a24d9460d36e5147f5a9f389923f2eb75f34e34f (patch) | |
tree | db2f1253ae14d3af1c842af66c318caa760401d4 /source/libs/utils.ts | |
parent | 90b43ae76d84b53eb01a1d8961907c515c010994 (diff) | |
download | refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.gz refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.zst refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.zip |
Extract page-detect.ts into `github-url-detection` (#3062)
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r-- | source/libs/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts index dc1aeb35..a4629fca 100644 --- a/source/libs/utils.ts +++ b/source/libs/utils.ts @@ -1,8 +1,8 @@ import select from 'select-dom'; import onetime from 'onetime'; import stripIndent from 'strip-indent'; -import {isRepo, isPR, isIssue} from './page-detect'; import compareVersions from 'tiny-version-compare'; +import {isRepo, isPR, isIssue} from 'github-url-detection'; export function logError(id: FeatureID, error: Error | string, ...extras: unknown[]): void { if (error instanceof TypeError && error.message === 'Object(...)(...) is null') { |