Compare commits
No commits in common. "fa5a4ecc3be0d9b790ecdaa12eb25f2b6978f542" and "7d24d5e70b44ed361d23ad540e8a888fb9a348b0" have entirely different histories.
fa5a4ecc3b
...
7d24d5e70b
|
@ -22,7 +22,7 @@ import (
|
|||
const (
|
||||
name string = "agedit"
|
||||
usage string = "Edit age encrypted files with your $EDITOR"
|
||||
version string = "0.2.2"
|
||||
version string = "0.2.1"
|
||||
help_template string = `NAME:
|
||||
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}
|
||||
|
||||
|
|
5
pkg/env/env.go
vendored
5
pkg/env/env.go
vendored
|
@ -108,13 +108,8 @@ func make_path(paths ...string) string {
|
|||
}
|
||||
|
||||
for _, path := range paths {
|
||||
// don't add / to the end if it's there
|
||||
if strings.HasSuffix(path, sep) {
|
||||
output.WriteString(path)
|
||||
} else {
|
||||
output.WriteString(path + sep)
|
||||
}
|
||||
}
|
||||
|
||||
return output.String()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue