summaryrefslogtreecommitdiff
path: root/source/github-helpers/api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r--source/github-helpers/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/github-helpers/api.ts b/source/github-helpers/api.ts
index e85e2c2f..d684a2b6 100644
--- a/source/github-helpers/api.ts
+++ b/source/github-helpers/api.ts
@@ -49,7 +49,7 @@ type RestResponse = {
ok: boolean;
} & AnyObject;
-export const escapeKey = (...keys: Array<string | number>): string => '_' + String(keys).replace(/[^a-z\d]/gi, '_');
+export const escapeKey = (...keys: Array<string | number>): string => '_' + String(keys).replaceAll(/[^a-z\d]/gi, '_');
export class RefinedGitHubAPIError extends Error {
response: AnyObject = {};