Skip to content

Commit 5f98dda

Browse files
jiapinwakrishna1995
authored andcommitted
Fix style issues and explicitly set check to true
1 parent 0b8912b commit 5f98dda

File tree

1 file changed

+2
-2
lines changed
  • src/sagemaker/serve/save_retrive/version_1_0_0/save

1 file changed

+2
-2
lines changed

src/sagemaker/serve/save_retrive/version_1_0_0/save/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def capture_dependencies(requirements_path: str):
100100
return
101101

102102
command = ["pigar", "gen", "-f", str(Path(requirements_path)), str(os.getcwd())]
103-
logging.info("Running command: %s", ' '.join(command))
103+
logging.info("Running command: %s", " ".join(command))
104104

105-
subprocess.run(command)
105+
subprocess.run(command, check=True, capture_output=True)
106106
logger.info("Dependencies captured successfully")
107107

108108

0 commit comments

Comments
 (0)