@ondrej-svec/hog 1.6.0 → 1.6.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/cli.js CHANGED
@@ -1243,7 +1243,6 @@ function useActions({
1243
1243
  } else {
1244
1244
  t.resolve(`#${issue.number} \u2192 ${optionName}`);
1245
1245
  }
1246
- refresh();
1247
1246
  }).catch((err) => {
1248
1247
  t.reject(`Status change failed: ${err instanceof Error ? err.message : String(err)}`);
1249
1248
  refresh();
@@ -1483,8 +1482,8 @@ ${dueLine}` : dueLine;
1483
1482
  t.resolve(`Moved ${total} issue${total > 1 ? "s" : ""} to ${optionName}`);
1484
1483
  } else {
1485
1484
  t.reject(`${ok} moved to ${optionName}, ${failed.length} failed`);
1485
+ refresh();
1486
1486
  }
1487
- refresh();
1488
1487
  return failed;
1489
1488
  },
1490
1489
  [toast, refresh, mutateData]
@@ -5805,7 +5804,7 @@ function resolveProjectId(projectId) {
5805
5804
  process.exit(1);
5806
5805
  }
5807
5806
  var program = new Command();
5808
- program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.6.0").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
5807
+ program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.6.1").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
5809
5808
  const opts = thisCommand.opts();
5810
5809
  if (opts.json) setFormat("json");
5811
5810
  if (opts.human) setFormat("human");