From 23b60dc1975db38c280d8a123aff97544d1673e0 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:34:21 +0800 Subject: [PATCH] TODO#139890 FAQ 常見問題 1-文案調整 --- PAMapp/node_modules/ts-jest/dist/utils/backports.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/ts-jest/dist/utils/backports.js b/PAMapp/node_modules/ts-jest/dist/utils/backports.js index cc4f786..1706839 100644 --- a/PAMapp/node_modules/ts-jest/dist/utils/backports.js +++ b/PAMapp/node_modules/ts-jest/dist/utils/backports.js @@ -24,7 +24,7 @@ var hadWarnings = false; var warnConfig = function (oldPath, newPath, note) { hadWarnings = true; - logger.warn(context, messages_1.interpolate(note ? "\"[jest-config].{{oldPath}}\" is deprecated, use \"[jest-config].{{newPath}}\" instead.\n \u21B3 {{note}}" : "\"[jest-config].{{oldPath}}\" is deprecated, use \"[jest-config].{{newPath}}\" instead.", { + logger.warn(context, (0, messages_1.interpolate)(note ? "\"[jest-config].{{oldPath}}\" is deprecated, use \"[jest-config].{{newPath}}\" instead.\n \u21B3 {{note}}" : "\"[jest-config].{{oldPath}}\" is deprecated, use \"[jest-config].{{newPath}}\" instead.", { oldPath: oldPath, newPath: newPath, note: note, @@ -102,7 +102,7 @@ if (shouldLog) { process.env.TS_JEST_LOG = 'ts-jest.log,stderr:warn'; } - logger.warn(context, messages_1.interpolate("Using env. var \"{{old}}\" is deprecated, use \"{{new}}\" instead.", { + logger.warn(context, (0, messages_1.interpolate)("Using env. var \"{{old}}\" is deprecated, use \"{{new}}\" instead.", { old: 'TS_JEST_DEBUG', new: 'TS_JEST_LOG', })); -- Gitblit v1.8.0