sagiegurari / shell2batch

Coverts simple basic shell scripts to windows batch scripts.
Apache License 2.0
57 stars 7 forks source link

`rm ./build/repalungs-wasm/.gitignore` converts to `rmdir .\build\repalungs-wasm\.gitignore` #20

Closed JohnScience closed 2 years ago

JohnScience commented 2 years ago

Describe The Bug

./build/repalungs-wasm/.gitignore is interpreted as a directory, not a file.

To Reproduce

Use rm ./build/repalungs-wasm/.gitignore.

Error Stack

Irrelevant

Code Sample

# using cargo-make
[tasks.my-task]
script_runner = "@shell"
script = '''
cargo new my_project
rm ./my_project/.gitignore
sagiegurari commented 2 years ago

@JohnScience thanks a lot for reporting this bug. i've fix it and released a new version. you would require to reinstall cargo-make to get it.

JohnScience commented 2 years ago

Thank you!