Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoehlke committed Mar 21, 2024
1 parent d054573 commit 7e2705b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check-build-logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ def main(log_path: str, out_path: str, src_root: str = '.'):
if t not in {'warning', 'error'}:
t = 'warning'

params = {'file': os.path.relpath(m.group('file'), src_root)}
params = {'file': m.group('file')}
line = m.group('line')
if line:
params['line'] = line

p = ','.join([f'{k}={v}' for k, v in params.items()])
m = m.group('message')
print(f'raise {t} with params {p!r}')
print(f'::{t} {p}::{m}')
result = 1

Expand Down

0 comments on commit 7e2705b

Please sign in to comment.