From 8db88fa6df8448e1a04ad9b97fde366e6bdbf118 Mon Sep 17 00:00:00 2001 From: Dan Bornstein Date: Tue, 31 Oct 2023 09:57:24 -0700 Subject: [PATCH] Add a couple exclusions. Notably, `.pyc` is for compiled Python bytecode. --- scripts/lib/bashy-node/node-project/build-main-module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/bashy-node/node-project/build-main-module b/scripts/lib/bashy-node/node-project/build-main-module index 330be61..fe03897 100755 --- a/scripts/lib/bashy-node/node-project/build-main-module +++ b/scripts/lib/bashy-node/node-project/build-main-module @@ -330,7 +330,7 @@ function suspect-file-check { suspectFiles="$( lib ls-files --output=array --cd="${dir}" \ - --exclude='\.(cjs|js|json|html|md|mjs|ts|yml)$' + --exclude='\.(cjs|js|json|html|md|mjs|pyc|ts|txt|yml)$' )" \ || return "$?"