drom icon indicating copy to clipboard operation
drom copied to clipboard

Quick fix commandBuild.ml

Open Stevendeo opened this issue 2 years ago • 2 comments

When the package is a directory (happened to me with a test folder), drom fails with a Sys exception. This fixes the error

Stevendeo avatar Mar 10 '22 16:03 Stevendeo

Okay, so the fix is bad as it moved a folder at the root of my project that should not have.

Stevendeo avatar Mar 10 '22 16:03 Stevendeo

Update: this version of the fix tests if a directory with the same name exists: if so, it applies the same logic on 'dir_name.exe' which we expect not to be a folder.

Stevendeo avatar Mar 10 '22 17:03 Stevendeo