diff options
Diffstat (limited to 'source/libs/api.ts')
-rw-r--r-- | source/libs/api.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/api.ts b/source/libs/api.ts index be6f84ec..21d4944e 100644 --- a/source/libs/api.ts +++ b/source/libs/api.ts @@ -45,7 +45,7 @@ export interface GHRestApiOptions { accept404: boolean; } -export const escapeKey = (value: string): string => '_' + value.replace(/[./-]/g, '_'); +export const escapeKey = (value: string): string => '_' + value.replace(/[ ./-]/g, '_'); export class RefinedGitHubAPIError extends Error { constructor(...messages: string[]) { |