소스 검색

builder: convert bin_path to Path from str before using

Shiv Tyagi 10 달 전
부모
커밋
c7c764152b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      builder/builder.py

+ 1 - 1
builder/builder.py

@@ -235,7 +235,7 @@ class Builder:
         )
 
         # Ensure bin_path exists
-        Path.mkdir(bin_path, exist_ok=True)
+        Path.mkdir(Path(bin_path), exist_ok=True)
 
         bin_list = os.listdir(bin_path)
         self.logger.debug(f"bin_path: {bin_path}")