Skip to content

Commit f9ceaf3

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 dac489a commit f9ceaf3

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
@@ -688,7 +688,6 @@ def _get_apple_active_clang():
688688
"""Get path to xcode-select'd clang version."""
689689
return subprocess.check_output(
690690
('xcrun', '--find', 'clang'),
691-
stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..."
692691
encoding=locale.getpreferredencoding()
693692
).rstrip()
694693
# 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'.
@@ -699,7 +698,6 @@ def _get_apple_active_swiftc():
699698
"""Get path to xcode-select'd swiftc version."""
700699
return subprocess.check_output(
701700
('xcrun', '--find', 'swiftc'),
702-
stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..."
703701
encoding=locale.getpreferredencoding()
704702
).rstrip()
705703

0 commit comments

Comments
 (0)