build: fix clang format location helper (again) (#42924)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: clavin <clavin@electronjs.org>
This commit is contained in:
parent
c4d9e79021
commit
24a6c66145
2 changed files with 5 additions and 2 deletions
|
@ -194,6 +194,9 @@ def get_buildtools_executable(name):
|
|||
chromium_platform = 'linux64'
|
||||
else:
|
||||
raise Exception(f"Unsupported platform: {sys.platform}")
|
||||
|
||||
if name == 'clang-format':
|
||||
chromium_platform += '-format'
|
||||
|
||||
path = os.path.join(buildtools, chromium_platform, name)
|
||||
if sys.platform == 'win32':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue