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 145f90c commit 7b80e13Copy full SHA for 7b80e13
v-next/hardhat/src/internal/cli/telemetry/sentry/anonymizer.ts
@@ -123,7 +123,7 @@ export class Anonymizer {
123
errorMessage = this.#anonymizeMnemonic(errorMessage);
124
125
// the \\ before path.sep is necessary for this to work on windows
126
- const pathRegex = new RegExp(`\\S+\\${path.sep}\\S+`, "g");
+ const pathRegex = /\S+[\/\\]\S+/g;
127
128
// for files that don't have a path separator
129
const fileRegex = new RegExp("\\S+\\.(js|ts)\\S*", "g");
0 commit comments