From 48a39ff364396a4fb2c8f46ee19e1ed08bf310e5 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 9 Apr 2022 19:37:23 +0800 Subject: [PATCH] fix: search .js files as well Signed-off-by: Wing-Kam Wong --- scripts/upgradeNocodbSdk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgradeNocodbSdk.js b/scripts/upgradeNocodbSdk.js index a72937f274..58daf921d9 100644 --- a/scripts/upgradeNocodbSdk.js +++ b/scripts/upgradeNocodbSdk.js @@ -37,7 +37,7 @@ const dfs = function(dir) { res = res.concat(dfs(file)); } else { const ext = path.extname(file).toLowerCase() - if (ext == '.vue' || ext == '.ts') { + if (ext == '.vue' || ext == '.ts' || ext == '.js') { res.push(file); } }