Skip to content

Commit dd5a990

Browse files
sriram-mvAlexander Betaev
andauthored
fix: npm output handling (#150)
* fix output handling * chore: run black auto formatter Co-authored-by: Alexander Betaev <[email protected]>
1 parent b911949 commit dd5a990

File tree

1 file changed

+1
-1
lines changed
  • aws_lambda_builders/workflows/nodejs_npm

1 file changed

+1
-1
lines changed

aws_lambda_builders/workflows/nodejs_npm/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def execute(self):
5656

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

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

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

0 commit comments

Comments
 (0)