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 432187f commit e41b33eCopy full SHA for e41b33e
1 file changed
src/commands/doctor-web-fetch-proxy.test.ts
@@ -18,6 +18,9 @@ async function collectDiagnostic(
18
await noteWebFetchProxyDiagnostic({
19
...params,
20
noteFn: (message) => {
21
+ if (typeof message !== "string") {
22
+ throw new TypeError("expected doctor proxy diagnostic to be a string");
23
+ }
24
diagnostic = message;
25
},
26
});
0 commit comments