From 26fa49f4b0aa658d65a21fffe828f39e78302573 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 17:46:58 +0800
Subject: [PATCH] Revert "Update#139889 [ 快速篩選 ] 年資文案調整"

---
 PAMapp/node_modules/jest-config/build/resolveConfigPath.js |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/PAMapp/node_modules/jest-config/build/resolveConfigPath.js b/PAMapp/node_modules/jest-config/build/resolveConfigPath.js
index dceaade..12472b0 100644
--- a/PAMapp/node_modules/jest-config/build/resolveConfigPath.js
+++ b/PAMapp/node_modules/jest-config/build/resolveConfigPath.js
@@ -3,7 +3,7 @@
 Object.defineProperty(exports, '__esModule', {
   value: true
 });
-exports.default = void 0;
+exports.default = resolveConfigPath;
 
 function path() {
   const data = _interopRequireWildcard(require('path'));
@@ -104,7 +104,11 @@
 
 const getConfigFilename = ext => _constants.JEST_CONFIG_BASE_NAME + ext;
 
-var _default = (pathToResolve, cwd, skipMultipleConfigWarning = false) => {
+function resolveConfigPath(
+  pathToResolve,
+  cwd,
+  skipMultipleConfigWarning = false
+) {
   if (!path().isAbsolute(cwd)) {
     throw new Error(`"cwd" must be an absolute path. cwd: ${cwd}`);
   }
@@ -120,7 +124,7 @@
   // e.g.
   // With a directory structure like this:
   //   my_project/
-  //     packcage.json
+  //     package.json
   //
   // Passing a `my_project/some_directory_that_doesnt_exist` as a project
   // name will resolve into a (possibly empty) `my_project/package.json` and
@@ -128,7 +132,7 @@
 
   if (!fs().existsSync(absolutePath)) {
     throw new Error(
-      `Can't find a root directory while resolving a config file path.\n` +
+      "Can't find a root directory while resolving a config file path.\n" +
         `Provided path to resolve: ${pathToResolve}\n` +
         `cwd: ${cwd}`
     );
@@ -140,9 +144,7 @@
     cwd,
     skipMultipleConfigWarning
   );
-};
-
-exports.default = _default;
+}
 
 const resolveConfigPathByTraversing = (
   pathToResolve,

--
Gitblit v1.8.0