diff --git a/refresh.template.py b/refresh.template.py index 6951f45..972bac1 100644 --- a/refresh.template.py +++ b/refresh.template.py @@ -701,7 +701,6 @@ def _get_apple_active_clang(): """Get path to xcode-select'd clang version.""" return subprocess.check_output( ('xcrun', '--find', 'clang'), - stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..." encoding=locale.getpreferredencoding() ).rstrip() # 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(): """Get path to xcode-select'd swiftc version.""" return subprocess.check_output( ('xcrun', '--find', 'swiftc'), - stderr=subprocess.DEVNULL, # Suppress superfluous error messages like "Requested but did not find extension point with identifier..." encoding=locale.getpreferredencoding() ).rstrip()