projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4389e4
)
don't use path.Join, because it cleans the final path
author
Joachim Ansorg
<github@ja-dev.eu>
Thu, 16 Dec 2021 19:30:44 +0000
(20:30 +0100)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 16 Dec 2021 20:14:33 +0000
(21:14 +0100)
modules/config.go
patch
|
blob
|
history
diff --git
a/modules/config.go
b/modules/config.go
index fc4d617f9cfc9eca7487d90119ed1e5f36b16ee7..dd6285718fdccb6b824a89651844928b2de191c9 100644
(file)
--- a/
modules/config.go
+++ b/
modules/config.go
@@
-15,7
+15,6
@@
package modules
import (
"fmt"
- "path"
"path/filepath"
"strings"
@@
-389,7
+388,7
@@
type Mount struct {
// Used as key to remove duplicates.
func (m Mount) key() string {
- return
path.Join(m.Lang, m.Source, m.Target
)
+ return
strings.Join([]string{m.Lang, m.Source, m.Target}, "/"
)
}
func (m Mount) Component() string {