build: Specify check kwarg in run_command

Meson now warns that the default will change in a future version,
so set it explicitly to maintain the existing behavior (and shut
up the meson warning).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2350>
This commit is contained in:
Florian Müllner 2022-07-10 15:17:19 +02:00 committed by Marge Bot
parent 0f61af6b85
commit 06d17d6d67

View File

@ -6,7 +6,9 @@ project('gnome-extensions-app',
if get_option('profile') == 'development' if get_option('profile') == 'development'
profile = '.Devel' profile = '.Devel'
vcs_tag = run_command('git', 'rev-parse', '--short', '@').stdout().strip() vcs_tag = run_command('git', 'rev-parse', '--short', '@',
check: false,
).stdout().strip()
else else
profile = '' profile = ''
vcs_tag = '' vcs_tag = ''