Skip to content

Commit

Permalink
Adjusted for new ls-files semantics.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Oct 2, 2023
1 parent a271d1f commit 889c35e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/lib/lactoserv/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ ln -s ../lactoserv/lib/code/node_modules .
cat >package.json <<< '{ "type": "module" }'

dirsWithTests="$(
lib ls-files --cd="${srcDir}" --dirs --full-paths --include='/tests$')" \
lib ls-files --output=array --cd="${srcDir}" --dirs --full-paths \
--include='/tests$')" \
|| exit "$?"
while IFS='' read -r -d $'\0' dir; do
[[ ${dir} =~ /([^/]+)/tests$ ]] || {
Expand Down

0 comments on commit 889c35e

Please sign in to comment.