Compare commits
2 commits
7d24d5e70b
...
fa5a4ecc3b
Author | SHA1 | Date | |
---|---|---|---|
Lilian Jónsdóttir | fa5a4ecc3b | ||
Lilian Jónsdóttir | 64bf6863e5 |
|
@ -22,7 +22,7 @@ import (
|
|||
const (
|
||||
name string = "agedit"
|
||||
usage string = "Edit age encrypted files with your $EDITOR"
|
||||
version string = "0.2.1"
|
||||
version string = "0.2.2"
|
||||
help_template string = `NAME:
|
||||
{{.Name}} {{if .Version}}v{{.Version}}{{end}} - {{.Usage}}
|
||||
|
||||
|
|
5
pkg/env/env.go
vendored
5
pkg/env/env.go
vendored
|
@ -108,8 +108,13 @@ 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