Skip to content

Commit bc4823d

Browse files
committed
fix typo
1 parent 25d45bf commit bc4823d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builder/actions/setup_cross_ci_crt_environment.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ def _common_setup(self, env):
430430
def get_sts_caller_identity(self):
431431
try:
432432
# Run AWS CLI command to get STS caller identity
433-
result = subprocess.run(['aws', 'sts', 'get-caller-identity'], capture_output=True, text=True)
434-
433+
result = subprocess.run(['aws', 'sts', 'get-caller-identity'], stdout=subprocess.PIPE,
434+
stderr=subprocess.PIPE, text=True)
435435
# Check if the command was successful
436436
if result.returncode == 0:
437437
# Parse the JSON output
@@ -446,8 +446,8 @@ def get_sts_caller_identity(self):
446446
def run(self, env):
447447
# A special environment variable indicating that we want to dump test environment variables to a specified file.
448448
env_dump_file = env.shell.getenv("AWS_SETUP_CRT_TEST_ENVIRONMENT_DUMP_FILE")
449-
print(self.get_sts_caller_identity())
450-
449+
print(f"waahm7: {self.get_sts_caller_identity()}")
450+
451451
# Bail if not running tests
452452
if not env.project.needs_tests(env) and not env_dump_file:
453453
print('Tests not needed for project. Skipping setting test environment variables')

0 commit comments

Comments
 (0)