mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
lint
This commit is contained in:
1 parent
6a1cd7bf87
commit
f6d75d507c
1 file changed
+1
-1
@@ -77,7 +77,7 @@ func LoadProjectFromContent(
|
||||
|
||||
// Write the YAML content to compose.yaml in the temporary directory.
|
||||
composePath := filepath.Join(tmpDir, "compose.yaml")
|
||||
if err := os.WriteFile(composePath, []byte(content), 0644); err != nil {
|
||||
if err := os.WriteFile(composePath, []byte(content), 0o644); err != nil {
|
||||
return nil, fmt.Errorf("write compose file: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user