Compare commits

..

No commits in common. "fa5a4ecc3be0d9b790ecdaa12eb25f2b6978f542" and "7d24d5e70b44ed361d23ad540e8a888fb9a348b0" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View file

@ -22,7 +22,7 @@ import (
const ( const (
name string = "agedit" name string = "agedit"
usage string = "Edit age encrypted files with your $EDITOR" usage string = "Edit age encrypted files with your $EDITOR"
version string = "0.2.2" version string = "0.2.1"
help_template string = `NAME: help_template string = `NAME:
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}} {{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}

5
pkg/env/env.go vendored
View file

@ -108,13 +108,8 @@ func make_path(paths ...string) string {
} }
for _, path := range paths { 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) output.WriteString(path + sep)
} }
}
return output.String() return output.String()
} }