summaryrefslogtreecommitdiff
path: root/source/libs/utils.ts
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2020-02-04 16:02:07 +0700
committerGravatar GitHub <noreply@github.com> 2020-02-04 16:02:07 +0700
commit16a888f4271c5f4161ced5123ef43720da3e6699 (patch)
tree9ec127cd3e41409af38a92effae754e7131a3958 /source/libs/utils.ts
parentbac196b114a751f86089ba4bcc4269bb20d6da49 (diff)
downloadrefined-github-16a888f4271c5f4161ced5123ef43720da3e6699.tar.gz
refined-github-16a888f4271c5f4161ced5123ef43720da3e6699.tar.zst
refined-github-16a888f4271c5f4161ced5123ef43720da3e6699.zip
Update dependencies + lint (#2753)
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r--source/libs/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts
index e5047015..5a0cc695 100644
--- a/source/libs/utils.ts
+++ b/source/libs/utils.ts
@@ -147,6 +147,7 @@ export async function poll<T>(callback: () => T, frequency: number): Promise<T>
});
}
+// TODO: Merge this with `logError`
export function reportBug(featureName: string, bugName: string): void {
alert(`Refined GitHub: ${bugName}. Can you report this issue? You’ll find more information in the console.`);
const issuesUrl = new URL('https://github.com/sindresorhus/refined-github/issues');