Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit af41298

Browse files
committed
fix(project): only grab last line of npm pack output
When a package has a prepack script, NPM outputs to stdout that is is running a prepack script
1 parent 3fbf907 commit af41298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/smoke.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ create_package() {
1212
install() {
1313
PACKAGE="$1"
1414

15-
TARBALL="$(cd packages/$PACKAGE && npm pack)"
15+
TARBALL="$(cd packages/$PACKAGE && npm pack | tail -n1)"
1616
mv "packages/$PACKAGE/$TARBALL" "$TMPDIR"
1717

1818
cd "$TMPDIR" && npm install "$TARBALL" && cd "$API_ELEMENTS"

0 commit comments

Comments
 (0)