Skip to content

Commit

Permalink
Acknowledge thirdpartylibs.xml in plugin names with 'work'
Browse files Browse the repository at this point in the history
When removing files irrelevant to the tests, any files or folders containing the substring "word" remain untouched. This poses a problem if the plugin uses that substring.
  • Loading branch information
vmdef committed Nov 5, 2024
1 parent 0eb6bf7 commit a77fff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote_branch_checker/remote_branch_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ echo "Info: Deleting excluded and unrelated files..."
# Remove all the excluded (but .git and work)
set -e
for todelete in ${excluded}; do
if [[ ${todelete} =~ ".git" || ${todelete} =~ "work" || ${todelete} =~ "node_modules" ]]; then
if [[ ${todelete} =~ ".git" || ${todelete} =~ ^work || ${todelete} =~ "node_modules" ]]; then
continue
fi
rm -fr "${WORKSPACE}/${todelete}"
Expand Down

0 comments on commit a77fff6

Please sign in to comment.