Skip to content

Commit 1a3fe4b

Browse files
committed
build: only copy fixtures directory if it exists
1 parent 948b5ea commit 1a3fe4b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/node_modules/@stdlib/_tools/scripts/templates/workflow_productionize_cli.yml.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,10 @@ jobs:
775775
mkdir -p cli/docs cli/test
776776
cp README.md LICENSE CONTRIBUTORS NOTICE ./cli
777777
cp -r bin etc ./cli
778-
cp -r test/test.cli.js test/fixtures ./cli/test
778+
cp test/test.cli.js ./cli/test
779+
if [ -d "test/fixtures" ]; then
780+
cp -r test/fixtures ./cli/test
781+
fi
779782
cp docs/usage.txt ./cli/docs
780783

781784
# Install Node.js:

0 commit comments

Comments
 (0)