Explorar el Código

builder: ensure bin dir exists

Shiv Tyagi hace 11 meses
padre
commit
e0733d6bfd
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      builder/builder.py

+ 4 - 0
builder/builder.py

@@ -233,6 +233,10 @@ class Builder:
             build_info.board,
             "bin"
         )
+
+        # Ensure bin_path exists
+        Path.mkdir(bin_path, exist_ok=True)
+
         bin_list = os.listdir(bin_path)
         self.logger.debug(f"bin_path: {bin_path}")
         self.logger.debug(f"bin_list: {bin_list}")