Skip to content

Commit

Permalink
Fix Windows error, when trying to run chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
yoh-meyers committed Jun 22, 2020
1 parent 2a2993e commit c5714b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DanceWebpack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ function setup(project_path::String=".") :: Nothing
# Copy Webpack files to project root
sample_files_dir::String = joinpath(@__DIR__, "../files")
cp(sample_files_dir, copied_file_path)
run(`chmod -R 755 $copied_file_path`)
if !Sys.iswindows()
run(`chmod -R 755 $copied_file_path`)
end

# Obtain `authors`, `name`, `version` values from project Project.toml
authors::String = ""
Expand Down

0 comments on commit c5714b3

Please sign in to comment.