Skip to content

Commit

Permalink
Update mesonbuild/modules/gnome.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nirbheek Chauhan <[email protected]>
  • Loading branch information
xclaesse and nirbheek committed Jun 16, 2020
1 parent 2ebda58 commit f40e156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/modules/gnome.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def generate_gir(self, state, args, kwargs):
mlog.deprecation('Passing --warn-error is deprecated in favor of "fatal_warnings" keyword argument since v0.55')
fatal_warnings = kwargs.get('fatal_warnings', False)
if not isinstance(fatal_warnings, bool):
raise MesonException('fatal_warnings keyword argument must be string.')
raise MesonException('fatal_warnings keyword argument must be a boolean')
if fatal_warnings:
scan_command.append('--warn-error')

Expand Down

0 comments on commit f40e156

Please sign in to comment.