fix: resolve ESLint errors and add npx command support in hook tests

Remove unused loadInstallManifests import and prefix unused result
variable with underscore in selective-install tests. Add npx as an
approved command prefix in hook validation tests.
This commit is contained in:
Affaan Mustafa
2026-03-20 02:11:12 -07:00
parent 47f508ec21
commit a2df9397ff
3 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,6 @@ const {
} = require('../../scripts/lib/install/request');
const {
loadInstallManifests,
listInstallComponents,
resolveInstallPlan,
} = require('../../scripts/lib/install-manifests');
@@ -564,7 +563,7 @@ function runTests() {
const projectDir = fs.mkdtempSync(path.join(os.tmpdir(), 'selective-install-project-'));
try {
const result = execFileSync('node', [
const _result = execFileSync('node', [
scriptPath,
'--profile', 'core',
'--with', 'capability:security',