From f4aeedd4baab3719388e4ca0b49994916372f8f2 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Fri, 6 Oct 2023 13:54:19 +0200 Subject: [PATCH] ci: remove earlier fix to check if test fails in CI --- lib/build/utils.js | 6 +++--- lib/ts/utils.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/build/utils.js b/lib/build/utils.js index a39a8c09c..c619fa977 100644 --- a/lib/build/utils.js +++ b/lib/build/utils.js @@ -49,9 +49,9 @@ const logger_1 = require("./logger"); const constants_1 = require("./constants"); const cross_fetch_1 = __importDefault(require("cross-fetch")); const doFetch = (...args) => { - if (typeof fetch !== "undefined") { - return fetch(...args); - } + // if (typeof fetch !== "undefined") { + // return fetch(...args); + // } return cross_fetch_1.default(...args); }; exports.doFetch = doFetch; diff --git a/lib/ts/utils.ts b/lib/ts/utils.ts index 294ec88e0..51d228689 100644 --- a/lib/ts/utils.ts +++ b/lib/ts/utils.ts @@ -11,9 +11,9 @@ import { User } from "./user"; import { SessionContainer } from "./recipe/session"; export const doFetch: typeof fetch = (...args) => { - if (typeof fetch !== "undefined") { - return fetch(...args); - } + // if (typeof fetch !== "undefined") { + // return fetch(...args); + // } return crossFetch(...args); };