Explorar o código

builder: convert bin_path to Path from str before using

Shiv Tyagi hai 10 meses
pai
achega
c7c764152b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      builder/builder.py

+ 1 - 1
builder/builder.py

@@ -235,7 +235,7 @@ class Builder:
         )
         )
 
 
         # Ensure bin_path exists
         # 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)
         bin_list = os.listdir(bin_path)
         self.logger.debug(f"bin_path: {bin_path}")
         self.logger.debug(f"bin_path: {bin_path}")