@lark-apaas/devtool-kits 1.2.5-alpha.4 → 1.2.5-alpha.5

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/dist/index.cjs CHANGED
@@ -2262,7 +2262,7 @@ async function readTriggerDetail(filePath, path7, instanceID) {
2262
2262
  const entry = parseLogLine2(line);
2263
2263
  if (!entry) continue;
2264
2264
  const isAutomationTrigger = entry.path?.endsWith(path7);
2265
- const hasInstanceID = entry.message?.includes(`instanceID=${instanceID}`);
2265
+ const hasInstanceID = entry.instance_id === instanceID && entry.trigger;
2266
2266
  if (!isAutomationTrigger || !hasInstanceID) continue;
2267
2267
  matches.push(entry);
2268
2268
  }