We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2538417 commit 595f27fCopy full SHA for 595f27f
1 file changed
internal/esbuild/fs.go
@@ -16,7 +16,7 @@ func copyStaticFiles(currentPath string, targetPath string) error {
16
}
17
18
// Create target directory if it doesn't exist
19
- if err := os.MkdirAll(targetPath, 0o755); err != nil {
+ if err := os.MkdirAll(targetPath, os.ModePerm); err != nil {
20
return fmt.Errorf("failed to create target directory: %w", err)
21
22
@@ -37,7 +37,7 @@ func copyStaticFiles(currentPath string, targetPath string) error {
37
38
// If it's a directory, create it in target
39
if info.IsDir() {
40
- return os.MkdirAll(targetFilePath, 0o755)
+ return os.MkdirAll(targetFilePath, os.ModePerm)
41
42
43
// Copy the file
0 commit comments