Skip to content

Commit

Permalink
Merge pull request #2138 from eviweb/fix-projects-plugin-regression
Browse files Browse the repository at this point in the history
fix projects plugin regression
  • Loading branch information
NoahGorny authored Mar 16, 2022
2 parents 60c4c0b + 088212f commit 1ffbc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/available/projects.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function pj() {
# with the same name in project directories
IFS=':' read -ra dests <<< "${BASH_IT_PROJECT_PATHS?${FUNCNAME[0]}: project working folders must be configured}"
for d in "${!dests[@]}"; do
if [[ ! -d "${dests[d]}" ]]; then
if [[ ! -d "${dests[d]}/${proj}" ]]; then
unset 'dests[d]'
fi
done
Expand Down

0 comments on commit 1ffbc85

Please # to comment.