Skip to content

Commit d14f59f

Browse files
author
bohendo
committed
rm unnecessary elif
1 parent a468802 commit d14f59f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crytic_compile/utils/naming.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def convert_filename(
124124

125125
if not filename.exists():
126126
raise InvalidCompilation(f"Unknown file: {filename}")
127-
elif not filename.is_absolute():
127+
128+
if not filename.is_absolute():
128129
filename = cwd.joinpath(filename)
129130

130131
absolute = filename

0 commit comments

Comments
 (0)