Эх сурвалжийг харах

cicd: Don't forward aapt stderr to stdout

LuK1337 2 сар өмнө
parent
commit
aeb20fc793

+ 1 - 2
cicd/verify-permissions.py

@@ -103,8 +103,7 @@ for partition in partitions:
     # Loop over all the APKs in the partition we want
     for apk in glob(GLOB_APK_STR.format(partition)):
         # Run 'aapt d permissions' on APK
-        aapt_output = subprocess.check_output(AAPT_CMD + [apk],
-                                              stderr=subprocess.STDOUT).decode(encoding='UTF-8')
+        aapt_output = subprocess.check_output(AAPT_CMD + [apk]).decode(encoding='UTF-8')
         lines = aapt_output.splitlines()
         # Extract package name from the output
         # Output looks like: