checkModules.js: Move out of build/tasks

All scripts in build/tasks get loaded by grunt, which
we don't need this script to do.

Change-Id: If4b97e5d3f31214e160d35bf0e72bffe5c3ecd04
This commit is contained in:
Ed Sanders 2024-05-09 10:52:03 +01:00
parent 28f14321b6
commit fc9c8bed20

View file

@ -2,8 +2,8 @@
const path = require( 'path' ); const path = require( 'path' );
const extensionJson = require( '../../extension.json' ); const extensionJson = require( '../extension.json' );
const modulesJson = require( '../../lib/ve/build/modules.json' ); const modulesJson = require( '../lib/ve/build/modules.json' );
const ignored = [ const ignored = [
'node_modules/', 'node_modules/',
@ -29,7 +29,6 @@ const ignored = [
'tests/dm/ve.dm.FakeSocket.js', 'tests/dm/ve.dm.FakeSocket.js',
'tests/dm/ve.dm.DocumentStore.test.js', 'tests/dm/ve.dm.DocumentStore.test.js',
'tests/dm/ve.dm.TransportServer.test.js' 'tests/dm/ve.dm.TransportServer.test.js'
]; ];
function addFilesToSet( files, set, basePath = '' ) { function addFilesToSet( files, set, basePath = '' ) {