We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbab45c + bd5807f commit c687fa9Copy full SHA for c687fa9
remote_branch_checker/remote_branch_checker.sh
@@ -456,7 +456,7 @@ echo "Info: Deleting excluded and unrelated files..."
456
# Remove all the excluded (but .git and work)
457
set -e
458
for todelete in ${excluded}; do
459
- if [[ ${todelete} =~ ".git" || ${todelete} =~ "work" || ${todelete} =~ "node_modules" ]]; then
+ if [[ ${todelete} =~ ".git" || ${todelete} =~ ^work/ || ${todelete} =~ "node_modules" ]]; then
460
continue
461
fi
462
rm -fr "${WORKSPACE}/${todelete}"
0 commit comments