Skip to content

Commit 871842a

Browse files
committed
https://github.com/hedronvision/bazel-compile-commands-extractor/pull/89#discussion_r1037780681
refresh.template.py: do not suppress error when locate xcrun toolchain
1 parent d785abb commit 871842a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

refresh.template.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,6 @@ def _get_apple_active_clang():
701701
"""Get path to xcode-select'd clang version."""
702702
return subprocess.check_output(
703703
('xcrun', '--find', 'clang'),
704-
stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..."
705704
encoding=locale.getpreferredencoding()
706705
).rstrip()
707706
# Unless xcode-select has been invoked (like for a beta) we'd expect, e.g., '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' or '/Library/Developer/CommandLineTools/usr/bin/clang'.
@@ -712,7 +711,6 @@ def _get_apple_active_swiftc():
712711
"""Get path to xcode-select'd swiftc version."""
713712
return subprocess.check_output(
714713
('xcrun', '--find', 'swiftc'),
715-
stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..."
716714
encoding=locale.getpreferredencoding()
717715
).rstrip()
718716

0 commit comments

Comments
 (0)