From fc9c8bed2076ef70c9d84606a5c26ec2a34c1e7e Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 9 May 2024 10:52:03 +0100 Subject: [PATCH] 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 --- build/{tasks => }/checkModules.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename build/{tasks => }/checkModules.js (94%) diff --git a/build/tasks/checkModules.js b/build/checkModules.js similarity index 94% rename from build/tasks/checkModules.js rename to build/checkModules.js index 0bd8b8b085..985e961a50 100644 --- a/build/tasks/checkModules.js +++ b/build/checkModules.js @@ -2,8 +2,8 @@ const path = require( 'path' ); -const extensionJson = require( '../../extension.json' ); -const modulesJson = require( '../../lib/ve/build/modules.json' ); +const extensionJson = require( '../extension.json' ); +const modulesJson = require( '../lib/ve/build/modules.json' ); const ignored = [ 'node_modules/', @@ -29,7 +29,6 @@ const ignored = [ 'tests/dm/ve.dm.FakeSocket.js', 'tests/dm/ve.dm.DocumentStore.test.js', 'tests/dm/ve.dm.TransportServer.test.js' - ]; function addFilesToSet( files, set, basePath = '' ) {