From 5ab05945cd7cb7862b3f92eab4fb3ee29d6937d1 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 26 Mar 2022 18:45:20 -0400 Subject: [PATCH] Revert "*Move api data" This reverts commit b39d81d20c78fd1872ada83369946e675197ed41. --- src/api-metadata.json => api-metadata.json | 0 src/browser-polyfill.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/api-metadata.json => api-metadata.json (100%) diff --git a/src/api-metadata.json b/api-metadata.json similarity index 100% rename from src/api-metadata.json rename to api-metadata.json diff --git a/src/browser-polyfill.js b/src/browser-polyfill.js index dc83fb4..6d96e09 100644 --- a/src/browser-polyfill.js +++ b/src/browser-polyfill.js @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; // eslint-disable-next-line no-undef -const apiMetadata = require("./api-metadata.json"); +const apiMetadata = require("../api-metadata.json"); if (typeof globalThis.browser === "undefined" || Object.getPrototypeOf(globalThis.browser) !== Object.prototype) { const CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE = "The message port closed before a response was received.";