We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f020a7 commit d8ced8bCopy full SHA for d8ced8b
1 file changed
export-dynamic/export-dynamic.sh
@@ -57,10 +57,15 @@ run_cli() {
57
echo "##########################################################"
58
cat /tmp/export-dynamic-cli.log
59
60
- if [[ -f yarn-install.log ]]; then
61
- cat yarn-install.log;
62
- echo "##########################################################"
63
- fi
+
+ # Search for both types of log files for backwards compatibility
+ local yarn_install_logs=("yarn-install.log" "rhdh-cli.yarn-install.log")
+ for log_file in "${yarn_install_logs[@]}"; do
64
+ if [[ -f "$log_file" ]]; then
65
+ cat "$log_file"
66
+ echo "##########################################################"
67
+ fi
68
+ done
69
return 1
70
fi
71
rm -f /tmp/export-dynamic-cli.log
0 commit comments