mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-21 09:13:46 +08:00
sync after a build (#38606)
* build: sync after a successful build * sync on failed builds too
This commit is contained in:
@@ -50,6 +50,8 @@ def build() -> None:
|
||||
if scons.returncode == 0:
|
||||
break
|
||||
|
||||
os.sync()
|
||||
|
||||
if scons.returncode != 0:
|
||||
# Build failed log errors
|
||||
error_s = b"\n".join(compile_output).decode('utf8', 'replace')
|
||||
|
||||
Reference in New Issue
Block a user