Commit ba58b066 authored by Luca Burelli's avatar Luca Burelli Committed by Dan Kalowsky
Browse files

west build: fix a leftover "log" reference in build.py



A recent commit changed all references to the global 'west.log' instance
(now deprecated) to the new WestCommand logging API, but another PR
merged in the same period added an extra instance that is now causing CI
to fail. Convert this last reference to the new API.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 6c2bc2ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,7 +265,7 @@ class Build(Forceable):
                with open(build_info_file, "w") as f:
                    yaml.dump(build_command, f, default_flow_style=False)
            except Exception as e:
                log.wrn(f'Failed to create info file: {build_info_file},', e)
                self.wrn(f'Failed to create info file: {build_info_file},', e)

        board, origin = self._find_board()
        self._run_cmake(board, origin, self.args.cmake_opts)