imdone-cli 0.1.0 → 0.1.1

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
@@ -103863,7 +103863,11 @@ async function isTaskStale({ task, adapter }) {
103863
103863
  const imdoneJiraUpdated = task.meta.jiraUpdated;
103864
103864
  if (!key2) return false;
103865
103865
  const { updated } = await adapter.getTask(key2);
103866
- return imdoneJiraUpdated && updated > imdoneJiraUpdated;
103866
+ const isStale = imdoneJiraUpdated && updated > imdoneJiraUpdated;
103867
+ if (isStale) {
103868
+ console.log("Task is stale", { key: key2, imdoneJiraUpdated, updated });
103869
+ }
103870
+ return isStale;
103867
103871
  }
103868
103872
  async function publishJiraTask({ project: project2, task, adapter }) {
103869
103873
  logger2.debug("Publishing task to Jira", { task });