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 78ef350 commit d7a0207Copy full SHA for d7a0207
packages/tools/fuzzer/Client.ts
@@ -229,10 +229,11 @@ class Client implements ActionableClient {
229
lines
230
// indent, for readability
231
.map(line => ` ${line}`)
232
- // Since the server could still be running, don't include web clipper tokens in the output:
+ // Since the server could still be running if the user posts the log, don't including
233
+ // web clipper tokens in the output:
234
.map(line => line.replace(/token=[a-z0-9A-Z_]+/g, 'token=*****'))
235
// Don't include the sync password in the output
- .map(line => line.replace(/(config "sync.9.password") ".*"/, '$1 "****"'))
236
+ .map(line => line.replace(/(config "(sync.9.password|api.token)") ".*"/, '$1 "****"'))
237
.join('\n')
238
);
239
}
0 commit comments