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 c772651 commit 7a42adaCopy full SHA for 7a42ada
apps/repl/app/utils/editor-text.ts
@@ -151,8 +151,6 @@ export class FileURIComponent {
151
if (macroCondition(isTesting())) {
152
// eslint-disable-next-line @typescript-eslint/no-explicit-any
153
base ??= (this.router as any) /* private API? */?.location;
154
- // @ts-expect-error private api
155
- base = base.split('?')[0];
156
} else {
157
base ??= window.location.toString();
158
}
0 commit comments