Skip to content

Commit 937bc9c

Browse files
committed
fix: warning
1 parent b2fe396 commit 937bc9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xclog_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,14 @@ def parse_c(self, line):
193193
return
194194

195195
found_command = False
196+
command: str = None # type: ignore
196197
for command in li:
197198
if re.match(self.clang_exec, command):
198199
found_command = True
199200
break
200201

201202
if not self.skip_validate_bin and not found_command:
202-
echo("Error: ========== Can't find clang\n" + li)
203+
echo("Error: ========== Can't find clang\n" + "\n".join(li))
203204
return
204205

205206
info = cmd_split(line)

0 commit comments

Comments
 (0)