From b955086d471c9e32174ea9eb39c7dd067aba4542 Mon Sep 17 00:00:00 2001 From: Hiroyuki Komatsu Date: Fri, 17 May 2024 12:58:29 +0000 Subject: [PATCH] Remove outputs of commands following the alerts. * https://github.com/google/mozc/security/code-scanning/1 * https://github.com/google/mozc/security/code-scanning/2 * https://github.com/google/mozc/security/code-scanning/3 #codehealth PiperOrigin-RevId: 634731299 --- src/build_tools/codesign_mac.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/build_tools/codesign_mac.py b/src/build_tools/codesign_mac.py index 9cb792954..e29493939 100755 --- a/src/build_tools/codesign_mac.py +++ b/src/build_tools/codesign_mac.py @@ -41,15 +41,12 @@ def RunOrDie(command): """Run the command, or die if it failed.""" - print("Running: " + command) try: output = subprocess.check_output(command, shell=True) print("==========", file=sys.stderr) - print("COMMAND: " + command, file=sys.stderr) print(output.decode("utf-8"), file=sys.stderr) except subprocess.CalledProcessError as e: print("==========", file=sys.stderr) - print("ERROR: " + command, file=sys.stderr) print(e.output, file=sys.stderr) print("==========", file=sys.stderr) sys.exit(1)