Merge "Create embedcfg directory before writing the file" into main
This commit is contained in:
commit
0bc93e1a92
1 changed files with 1 additions and 0 deletions
|
@ -584,6 +584,7 @@ func generateEmbedcfgFile(files []string, srcDir string, embedcfgFile string) {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
os.MkdirAll(filepath.Dir(embedcfgFile), os.ModePerm)
|
||||
os.WriteFile(embedcfgFile, []byte(embedcfgData), 0644)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue