Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look for config files next to input files
Previously config files next to an explicit input file could not be picked up, since the `from_root_or_default` functions assumes the input path is a directory. This is the case for all other usages of the function, but in this case we know the input is a file, so we determine the parent directory and look for the config file in that directory. There can't be a folder with the same name as the input file, so it's not possible that we won't pick up any files anymore that we previously did.
- Loading branch information