Browse Source

fix: search .js files as well

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1640/head
Wing-Kam Wong 3 years ago
parent
commit
48a39ff364
  1. 2
      scripts/upgradeNocodbSdk.js

2
scripts/upgradeNocodbSdk.js

@ -37,7 +37,7 @@ const dfs = function(dir) {
res = res.concat(dfs(file)); res = res.concat(dfs(file));
} else { } else {
const ext = path.extname(file).toLowerCase() const ext = path.extname(file).toLowerCase()
if (ext == '.vue' || ext == '.ts') { if (ext == '.vue' || ext == '.ts' || ext == '.js') {
res.push(file); res.push(file);
} }
} }

Loading…
Cancel
Save