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 effadea commit 461512bCopy full SHA for 461512b
integrations/node-fetch/require.ts
@@ -39,7 +39,7 @@ export function wrappedNodeFetch(fetch: any) {
39
options: any
40
) {
41
if (process.env.KEPLOY_MODE == MODE_OFF) {
42
- createExecutionContext({ mode: MODE_OFF });
+ return fetchFunc.apply(this, [url, options]);
43
}
44
if (
45
getExecutionContext() == undefined ||
@@ -147,8 +147,6 @@ export function wrappedNodeFetch(fetch: any) {
147
});
148
resp = new fetch.Response(Readable.from(buf), rinit);
149
break;
150
- case "off":
151
- return fetchFunc.apply(this, [url, options]);
152
default:
153
console.debug(
154
"mode is not valid. Please set valid keploy mode using env variables"
0 commit comments