Skip to content

Commit

Permalink
Add .exe extension to windows bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyonlin committed Oct 15, 2020
1 parent 34ccd68 commit b283493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ func (e *escort) init() (err error) {
}()

e.binPath = f.Name()
if runtime.GOOS == "windows" {
e.binPath += ".exe"
}

e.hitFunc = e.runBin

Expand Down

0 comments on commit b283493

Please sign in to comment.