Fixes an edge case when the file Shipit file exists, but is blank.
Changes
Simplify FileSystem.load_config to mirror more closely the previous behavior of returning the result of read_config.
Now simply returns echo & exit commands as part of deploy.pre when a disrespected bare shipit.yml file is detected instead of attempting to merge it with the rest of the config.
Too many edge cases were cropping up when attempting to be smartly merging the config together, so now simply override the entire config with our echo & exit commands.
Fixes an edge case when the file Shipit file exists, but is blank.
Changes
FileSystem.load_config
to mirror more closely the previous behavior of returning the result ofread_config
.deploy.pre
when a disrespected bareshipit.yml
file is detected instead of attempting to merge it with the rest of the config.