Merge pull request #2138 from eviweb/fix-projects-plugin-regression
fix projects plugin regression
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user