Skip to content

Commit c2e01fb

Browse files
get_bin_path2 uses os_ops.is_abs_path, too
1 parent 62e042f commit c2e01fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def get_bin_path2(os_ops: OsOperations, filename):
140140
assert isinstance(os_ops, OsOperations)
141141

142142
# check if it's already absolute
143-
if os.path.isabs(filename):
143+
if os_ops.is_abs_path(filename):
144144
return filename
145145
if isinstance(os_ops, RemoteOperations):
146146
pg_config = os.environ.get("PG_CONFIG_REMOTE") or os.environ.get("PG_CONFIG")

0 commit comments

Comments
 (0)