Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion export-dynamic/export-dynamic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ run_cli() {
# we WANT cli_args to split by spaces here
# shellcheck disable=SC2068
if ! "${cli_bin[@]}" ${cli_args_split[@]} >/tmp/export-dynamic-cli.log 2>&1; then
echo "Error running CLI: $(cat /tmp/export-dynamic-cli.log)"
echo "Error running CLI: "
echo "##########################################################"
cat /tmp/export-dynamic-cli.log
echo "##########################################################"
if [[ -f yarn-install.log ]]; then
cat yarn-install.log;
echo "##########################################################"
fi
return 1
fi
rm -f /tmp/export-dynamic-cli.log
Expand Down