mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +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)
|
diagnostics = list(linux_build.diagnostics)
|
||||||
if len(diagnostics) > 0:
|
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')
|
print('There were parse errors')
|
||||||
pprint.pprint(diagnostics)
|
pprint.pprint(diagnostics)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user