Add integrated tests and patch dependencies
This commit is contained in:
1 parent
145f13fee5
commit
3fc74ae189
6 files changed
+397
-639
No files matched your search
@@ -0,0 +1,12 @@
|
||||
const { execFileSync } = require('node:child_process');
|
||||
const path = require('node:path');
|
||||
|
||||
const files = execFileSync('git', ['ls-files', '*.js'], { encoding: 'utf8' })
|
||||
.split(/\r?\n/)
|
||||
.filter(Boolean);
|
||||
|
||||
for (const file of files) {
|
||||
execFileSync(process.execPath, ['--check', path.resolve(file)], { stdio: 'inherit' });
|
||||
}
|
||||
|
||||
console.log(`Syntax check passed for ${files.length} JavaScript files.`);
|
||||
Reference in new issue
Block a user