Skip to content

Commit

Permalink
version bump: v0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Jun 24, 2019
1 parent eb058ce commit f480cbc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions here.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package here

import (
"bytes"
"encoding/json"
"os"
"os/exec"
Expand All @@ -15,13 +16,15 @@ func newInfo() Info {
func run(n string, args ...string) ([]byte, error) {
c := exec.Command(n, args...)

bb := &bytes.Buffer{}
c.Stdout = bb
c.Stderr = os.Stderr
b, err := c.Output()
err := c.Run()
if err != nil {
return b, err
return nil, err
}

return b, err
return bb.Bytes(), nil
}

func setEnv(i *Info) error {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package here

// Version of here
const Version = "v0.1.2"
const Version = "v0.1.5"

0 comments on commit f480cbc

Please sign in to comment.