Using suggested self.cmd.startswith approach

This commit is contained in:
Morten V. Pedersen 2020-01-02 14:47:39 +01:00 committed by Thomas Nagy
parent 058b5d3793
commit 3204e2597c
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ def patch_execute():
""" """
Invoke clangdb command before build Invoke clangdb command before build
""" """
if isinstance(self, Build.BuildContext): if self.cmd.startswith('build'):
Scripting.run_command('clangdb') Scripting.run_command('clangdb')
old_execute_build(self) old_execute_build(self)