diff options
author | 2019-04-24 11:34:49 +0800 | |
---|---|---|
committer | 2019-04-24 11:34:49 +0800 | |
commit | 2190e1a6f68e483f43bfda3a03d82542cda6f05f (patch) | |
tree | 3c2f8aa13e11676fc1a662e261869fa778f0165c /source/libs | |
parent | b3a1b2702482b4de868d681aa1bf511ce3e49079 (diff) | |
download | refined-github-2190e1a6f68e483f43bfda3a03d82542cda6f05f.tar.gz refined-github-2190e1a6f68e483f43bfda3a03d82542cda6f05f.tar.zst refined-github-2190e1a6f68e483f43bfda3a03d82542cda6f05f.zip |
Add support for user-less commits in 2 features
- `show-names`
- `add-co-authored-by`
Context: https://github.com/sindresorhus/refined-github/pull/1924#issuecomment-485340003
Diffstat (limited to 'source/libs')
-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[]) { |