From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/style-resources-loader/lib/utils/inject-resources.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/PAMapp/node_modules/style-resources-loader/lib/utils/inject-resources.js b/PAMapp/node_modules/style-resources-loader/lib/utils/inject-resources.js
index 2dfd6fb..ce0d137 100644
--- a/PAMapp/node_modules/style-resources-loader/lib/utils/inject-resources.js
+++ b/PAMapp/node_modules/style-resources-loader/lib/utils/inject-resources.js
@@ -2,13 +2,14 @@
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.injectResources = void 0;
 const error_message_1 = require("./error-message");
-exports.injectResources = async (options, source, resources) => {
+const injectResources = async (ctx, options, source, resources) => {
     const { injector } = options;
-    const dist = injector(source, resources);
+    const dist = injector.call(ctx, source, resources);
     const content = await dist;
     if (typeof content !== 'string') {
         throw new Error(error_message_1.errorMessage.invalidInjectorReturn);
     }
     return content;
 };
+exports.injectResources = injectResources;
 //# sourceMappingURL=inject-resources.js.map
\ No newline at end of file

--
Gitblit v1.8.0