We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af20bd commit 12a14f0Copy full SHA for 12a14f0
src/index.ts
@@ -76,7 +76,7 @@ export class RequestError extends Error {
76
if (options.request.headers.authorization) {
77
requestCopy.headers = Object.assign({}, options.request.headers, {
78
authorization: options.request.headers.authorization.replace(
79
- / .*$/,
+ /(?<! ) .*$/,
80
" [REDACTED]",
81
),
82
});
0 commit comments