Fixes a blind spot in just init clean where build.config.json becoming a folder could not be reconciled
Motivation and Context
This PR addresses: BED-4744
There was a blind spot in just init clean where docker could create a folder called build.config.json if the file wasn't in place before running a command like just bh-dev. This would cause significant problems, since we want it to be a real config file, not a directory. We're still not sure why the file sometimes goes missing, but in the meantime this creates an easy solution to the dreaded build.config.json: no such file errors
How Has This Been Tested?
Runs fine, no logical changes beyond detecting a directory and making sure it's removed and replaced with a valid file
Types of changes
Chore (a change that does not modify the application functionality)
Description
Fixes a blind spot in
just init clean
wherebuild.config.json
becoming a folder could not be reconciledMotivation and Context
This PR addresses: BED-4744
There was a blind spot in
just init clean
where docker could create a folder calledbuild.config.json
if the file wasn't in place before running a command likejust bh-dev
. This would cause significant problems, since we want it to be a real config file, not a directory. We're still not sure why the file sometimes goes missing, but in the meantime this creates an easy solution to the dreadedbuild.config.json: no such file
errorsHow Has This Been Tested?
Runs fine, no logical changes beyond detecting a directory and making sure it's removed and replaced with a valid file
Types of changes
Checklist: