@ondrej-svec/hog 1.16.1 → 1.16.2
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 +3 -3
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2735,7 +2735,7 @@ function uiReducer(state, action) {
|
|
|
2735
2735
|
if (state.mode !== "normal") return state;
|
|
2736
2736
|
return { ...state, mode: "search", previousMode: "normal" };
|
|
2737
2737
|
case "ENTER_COMMENT":
|
|
2738
|
-
if (state.mode !== "normal") return state;
|
|
2738
|
+
if (state.mode !== "normal" && state.mode !== "overlay:detail") return state;
|
|
2739
2739
|
return { ...state, mode: "overlay:comment", previousMode: "normal" };
|
|
2740
2740
|
case "ENTER_STATUS":
|
|
2741
2741
|
return enterStatusMode(state);
|
|
@@ -2763,7 +2763,7 @@ function uiReducer(state, action) {
|
|
|
2763
2763
|
if (state.mode !== "normal") return state;
|
|
2764
2764
|
return { ...state, mode: "overlay:fuzzyPicker", previousMode: "normal" };
|
|
2765
2765
|
case "ENTER_EDIT_ISSUE":
|
|
2766
|
-
if (state.mode !== "normal") return state;
|
|
2766
|
+
if (state.mode !== "normal" && state.mode !== "overlay:detail") return state;
|
|
2767
2767
|
return { ...state, mode: "overlay:editIssue", previousMode: "normal" };
|
|
2768
2768
|
case "ENTER_DETAIL":
|
|
2769
2769
|
if (state.mode !== "normal") return state;
|
|
@@ -7415,7 +7415,7 @@ function resolveProjectId(projectId) {
|
|
|
7415
7415
|
process.exit(1);
|
|
7416
7416
|
}
|
|
7417
7417
|
var program = new Command();
|
|
7418
|
-
program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.16.
|
|
7418
|
+
program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.16.2").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
|
|
7419
7419
|
const opts = thisCommand.opts();
|
|
7420
7420
|
if (opts.json) setFormat("json");
|
|
7421
7421
|
if (opts.human) setFormat("human");
|