Skip to content

Commit c687fa9

Browse files
authored
Merge pull request #316 from moodlehq/workinpluginname
Acknowledge thirdpartylibs.xml in plugin names with 'work'
2 parents bbab45c + bd5807f commit c687fa9

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)