Skip to content

Commit bd5807f

Browse files
committed
Acknowledge thirdpartylibs.xml in plugin names with 'work'
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.
1 parent 0eb6bf7 commit bd5807f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remote_branch_checker/remote_branch_checker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ echo "Info: Deleting excluded and unrelated files..."
456456
# Remove all the excluded (but .git and work)
457457
set -e
458458
for todelete in ${excluded}; do
459-
if [[ ${todelete} =~ ".git" || ${todelete} =~ "work" || ${todelete} =~ "node_modules" ]]; then
459+
if [[ ${todelete} =~ ".git" || ${todelete} =~ ^work/ || ${todelete} =~ "node_modules" ]]; then
460460
continue
461461
fi
462462
rm -fr "${WORKSPACE}/${todelete}"

0 commit comments

Comments
 (0)