mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
lint
This commit is contained in:
@@ -77,7 +77,7 @@ func LoadProjectFromContent(
|
|||||||
|
|
||||||
// Write the YAML content to compose.yaml in the temporary directory.
|
// Write the YAML content to compose.yaml in the temporary directory.
|
||||||
composePath := filepath.Join(tmpDir, "compose.yaml")
|
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)
|
return nil, fmt.Errorf("write compose file: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user