forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to parse as TOML, and fall back to INI. (pantsbuild#9901)
### Problem Since rc files do not have file suffixes, they are always parsed as `ini` today, triggering a deprecation even for files that are already in `toml` format. ### Solution Attempt to parse unsuffixed config files first as `toml`, and then as `ini`. Trigger the deprecation only if they were successfully parsed as `ini`. [ci skip-rust-tests] [ci skip-jvm-tests]
- Loading branch information
Showing
2 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters