Skip to content

Commit

Permalink
fix: npm output handling (#150)
Browse files Browse the repository at this point in the history
* fix output handling

* chore: run black auto formatter

Co-authored-by: Alexander Betaev <abetaev@griddynamics.com>
  • Loading branch information
sriram-mv and Alexander Betaev authored Jan 23, 2020
1 parent b911949 commit dd5a990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_lambda_builders/workflows/nodejs_npm/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def execute(self):

LOG.debug("NODEJS packaging %s to %s", package_path, self.scratch_dir)

tarfile_name = self.subprocess_npm.run(["pack", "-q", package_path], cwd=self.scratch_dir)
tarfile_name = self.subprocess_npm.run(["pack", "-q", package_path], cwd=self.scratch_dir).splitlines()[-1]

LOG.debug("NODEJS packed to %s", tarfile_name)

Expand Down

0 comments on commit dd5a990

Please sign in to comment.