Skip to content

Commit bd2b334

Browse files
committed
use filepath.Join
1 parent da6a1cf commit bd2b334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/generate-licenses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func main() {
151151
log.Fatalf("Failed to create json bytes. %s", err)
152152
}
153153

154-
licenseAliasesDestination := path.Join(destination, "etc", "license-aliases.json")
154+
licenseAliasesDestination := filepath.Join(destination, "etc", "license-aliases.json")
155155
if err := os.MkdirAll(filepath.Dir(licenseAliasesDestination), 0o755); err != nil {
156156
log.Fatalf("Failed to create directory for license aliases json file. %s", err)
157157
}

0 commit comments

Comments
 (0)