mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
Silence expected and harmless errors
This commit is contained in:
parent
16992af05c
commit
e5c634ce0b
@ -1237,6 +1237,8 @@ for sdkver in sdk_versions:
|
||||
|
||||
diagnostics = list(linux_build.diagnostics)
|
||||
if len(diagnostics) > 0:
|
||||
# Ignore known and harmless issues
|
||||
if not(len(diagnostics) == 1 and "This file isn't used any more" in diagnostics[0].spelling):
|
||||
print('There were parse errors')
|
||||
pprint.pprint(diagnostics)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user