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
2 changes: 1 addition & 1 deletion test/e2e/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ if [ $EXIT_CODE -ne 0 ]; then
cat $LOGFILE
fi

rm rf $LOGFILE
rm -rf $LOGFILE

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While the fix to use rm -rf is correct, it's a good practice to quote variable expansions like $LOGFILE. This prevents potential issues if the filename were to contain spaces or special characters in the future.

Suggested change
rm -rf $LOGFILE
rm -rf "$LOGFILE"


if [[ -n ${CLEANUP_KIND} ]]; then
cleanup_kind_cluster
Expand Down
Loading