Merge pull request #2138 from eviweb/fix-projects-plugin-regression

fix projects plugin regression
pull/1946/head^2 v3.0.2
Noah Gorny 2022-03-16 21:54:51 +02:00 committed by GitHub
commit 1ffbc85a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function pj() {
# with the same name in project directories # with the same name in project directories
IFS=':' read -ra dests <<< "${BASH_IT_PROJECT_PATHS?${FUNCNAME[0]}: project working folders must be configured}" IFS=':' read -ra dests <<< "${BASH_IT_PROJECT_PATHS?${FUNCNAME[0]}: project working folders must be configured}"
for d in "${!dests[@]}"; do for d in "${!dests[@]}"; do
if [[ ! -d "${dests[d]}" ]]; then if [[ ! -d "${dests[d]}/${proj}" ]]; then
unset 'dests[d]' unset 'dests[d]'
fi fi
done done