Skip to content

Commit

Permalink
Merge pull request #316 from moodlehq/workinpluginname
Browse files Browse the repository at this point in the history
Acknowledge thirdpartylibs.xml in plugin names with 'work'
  • Loading branch information
junpataleta authored Dec 4, 2024
2 parents bbab45c + bd5807f commit c687fa9
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 c687fa9

Please sign in to comment.