diff options
| author | ewy <ewy0@protonmail.com> | 2026-06-06 20:20:41 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-06-06 20:20:41 +0200 |
| commit | fc9d57a500e522ce254f34681c67c6b2f3300cd8 (patch) | |
| tree | 101a9993e10c981a040f8321908e81e92371bbbd /run | |
| parent | a51c16ec4a1470549e3070d62a71386ea1aa5431 (diff) | |
remove a bunch of unnecessary pointer manip
Diffstat (limited to 'run')
| -rw-r--r-- | run/edit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run/edit.go b/run/edit.go index 804218a..47e04e7 100644 --- a/run/edit.go +++ b/run/edit.go @@ -13,7 +13,7 @@ var NoEditorError = errors.New("$EDITOR not set") func Edit(t model.Target, src *model.Source) *spool.ExitCode { editor := os.Getenv("EDITOR") if editor == "" { - return &spool.NoEditorFailure + return spool.NoEditorFailure } cmd := exec.Command(editor, t.File(src)) cmd.Stdin = os.Stdin |
