From 3b3600ceb3b5016596982cf2221dfc9650ed6e14 Mon Sep 17 00:00:00 2001 From: Dan Bornstein Date: Fri, 9 Feb 2024 08:50:25 -0800 Subject: [PATCH] Also fix `.mjs` files. --- scripts/lib/bashy-node/node-project/sort-imports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/bashy-node/node-project/sort-imports b/scripts/lib/bashy-node/node-project/sort-imports index 085ddc5..9115e47 100755 --- a/scripts/lib/bashy-node/node-project/sort-imports +++ b/scripts/lib/bashy-node/node-project/sort-imports @@ -208,7 +208,7 @@ function do-sort { srcDir="$(base-dir)/src" if (( ${#files[@]} == 0 )); then - files=($(lib buildy ls-files --output=lines --include='\.js$')) \ + files=($(lib buildy ls-files --output=lines --include='\.m?js$')) \ || exit "$?" else error=0