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.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');