Migrate a legacy config file to the new nested path layout.
If \<dir\>/jeeves-runner.config.json exists and \<dir\>/jeeves-runner/config.json does not, creates the directory and moves the file.
\<dir\>/jeeves-runner.config.json
\<dir\>/jeeves-runner/config.json
Path to the new config file or the legacy config file. The function resolves the base directory from this path.
Optional
Optional logger for migration events.
true if migration was performed, false otherwise.
true
false
Migrate a legacy config file to the new nested path layout.
If
\<dir\>/jeeves-runner.config.jsonexists and\<dir\>/jeeves-runner/config.jsondoes not, creates the directory and moves the file.