diff options
author | 2023-07-24 23:17:03 +0200 | |
---|---|---|
committer | 2023-07-24 21:17:03 +0000 | |
commit | 78d5d93496750c81f1e5fb58e2cb14e8f44135b6 (patch) | |
tree | 24965a757e2a201c6bf740bd35776981c51c703e /source/github-helpers/api.ts | |
parent | aac02051f7fb639f959faa15b5672b9c5483b403 (diff) | |
download | refined-github-78d5d93496750c81f1e5fb58e2cb14e8f44135b6.tar.gz refined-github-78d5d93496750c81f1e5fb58e2cb14e8f44135b6.tar.zst refined-github-78d5d93496750c81f1e5fb58e2cb14e8f44135b6.zip |
Update dependencies and lint (#6780)23.7.25
Diffstat (limited to 'source/github-helpers/api.ts')
-rw-r--r-- | source/github-helpers/api.ts | 2 |
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 = {}; |