Skip to content

Commit 2c96bec

Browse files
committed
Proper release v0.14.0
1 parent 8c49290 commit 2c96bec

File tree

4 files changed

+14
-33
lines changed

4 files changed

+14
-33
lines changed

core/dao/config.go

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package dao
33
import (
44
"fmt"
55
"os"
6+
"os/exec"
67
"path/filepath"
78
"strings"
89
"text/template"
@@ -295,7 +296,18 @@ func openEditor(path string, lineNr int) error {
295296
args = []string{path}
296297
}
297298

298-
err := ExecEditor(editor, args, os.Environ())
299+
editorBin, err := exec.LookPath(editor)
300+
if err != nil {
301+
return err
302+
}
303+
304+
cmd := exec.Command(editorBin, args...)
305+
cmd.Env = os.Environ()
306+
cmd.Stdin = os.Stdin
307+
cmd.Stdout = os.Stdout
308+
cmd.Stderr = os.Stderr
309+
310+
err = cmd.Run()
299311
if err != nil {
300312
return err
301313
}

core/dao/unix.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

core/dao/windows.go

Lines changed: 0 additions & 8 deletions
This file was deleted.

core/sake.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "SAKE" "1" "2023-01-04T23:00:29CET" "v0.14.0" "Sake Manual" "sake"
1+
.TH "SAKE" "1" "2023-01-04T23:23:54CET" "v0.14.0" "Sake Manual" "sake"
22
.SH NAME
33
sake - sake is a task runner for local and remote hosts
44

0 commit comments

Comments
 (0)