Skip to content

Commit

Permalink
Proper release v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alajmo committed Jan 4, 2023
1 parent 8c49290 commit 2c96bec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 33 deletions.
14 changes: 13 additions & 1 deletion core/dao/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package dao
import (
"fmt"
"os"
"os/exec"
"path/filepath"
"strings"
"text/template"
Expand Down Expand Up @@ -295,7 +296,18 @@ func openEditor(path string, lineNr int) error {
args = []string{path}
}

err := ExecEditor(editor, args, os.Environ())
editorBin, err := exec.LookPath(editor)
if err != nil {
return err
}

cmd := exec.Command(editorBin, args...)
cmd.Env = os.Environ()
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

err = cmd.Run()
if err != nil {
return err
}
Expand Down
23 changes: 0 additions & 23 deletions core/dao/unix.go

This file was deleted.

8 changes: 0 additions & 8 deletions core/dao/windows.go

This file was deleted.

2 changes: 1 addition & 1 deletion core/sake.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "SAKE" "1" "2023-01-04T23:00:29CET" "v0.14.0" "Sake Manual" "sake"
.TH "SAKE" "1" "2023-01-04T23:23:54CET" "v0.14.0" "Sake Manual" "sake"
.SH NAME
sake - sake is a task runner for local and remote hosts

Expand Down

0 comments on commit 2c96bec

Please sign in to comment.