whistle.pastekitlab 1.9.13 → 1.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -145,7 +145,7 @@ function matchMockRule(url, method) {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
// 检查 URL 是否匹配
|
|
148
|
-
const isMatch =
|
|
148
|
+
const isMatch = urlMatchesMockPattern(url, mockPattern);
|
|
149
149
|
log(`[matchMockRule] URL 匹配结果: ${isMatch} (pattern: ${mockPattern})`);
|
|
150
150
|
|
|
151
151
|
if (isMatch) {
|
package/package.json
CHANGED