aboutsummaryrefslogtreecommitdiffhomepage
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/state.go b/state.go
index 96bddff1..5454fb79 100644
--- a/state.go
+++ b/state.go
@@ -6,6 +6,7 @@ import (
"os"
"text/tabwriter"
+ "git.ophivana.moe/cat/fortify/internal"
"git.ophivana.moe/cat/fortify/internal/state"
)
@@ -21,7 +22,7 @@ func init() {
func tryState() {
if stateActionEarly {
var w *tabwriter.Writer
- state.MustPrintLauncherStateSimpleGlobal(&w)
+ state.MustPrintLauncherStateSimpleGlobal(&w, internal.GetSC().RunDirPath)
if w != nil {
if err := w.Flush(); err != nil {
fmt.Println("warn: error formatting output:", err)