@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.js CHANGED
@@ -2221,7 +2221,7 @@ async function readTriggerDetail(filePath, path7, instanceID) {
2221
2221
  const entry = parseLogLine2(line);
2222
2222
  if (!entry) continue;
2223
2223
  const isAutomationTrigger = entry.path?.endsWith(path7);
2224
- const hasInstanceID = entry.message?.includes(`instanceID=${instanceID}`);
2224
+ const hasInstanceID = entry.instance_id === instanceID && entry.trigger;
2225
2225
  if (!isAutomationTrigger || !hasInstanceID) continue;
2226
2226
  matches.push(entry);
2227
2227
  }