Skip to content

Commit 06d0a2c

Browse files
committed
Combine two lines
1 parent 5602e6e commit 06d0a2c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

formate/__main__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,8 @@ def main(
9696

9797
retv = 0
9898

99-
config_file = PathPlus(config_file)
100-
10199
# If `config_file` is a filename (rather than a path), look in CWD and parent directories
102-
config_file = _find_from_parents(config_file)
100+
config_file = _find_from_parents(PathPlus(config_file))
103101

104102
try:
105103
config = load_toml(config_file)

0 commit comments

Comments
 (0)