Handle code quality comments

This commit is contained in:
Sander Declerck 2026-01-19 15:22:24 +01:00
parent 079e4893b1
commit 471ef28210
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View file

@ -103,7 +103,7 @@ function runMsiInstaller(msiPath) {
// /i = install
// /qn = quiet mode (no UI)
ui.writeVerbose(`Running: msiexec /i "${msiPath}" /qn`);
execSync(`msiexec /i "${msiPath}" /qn`, { stdio: "inherit" });
execSync(`msiexec /i "${msiPath}" /qn`, { stdio: "inherit" }); // noopengrep this is ok, we control the msiPath
}
function stopServiceIfRunning() {
@ -128,7 +128,7 @@ function startService() {
return;
}
} catch {
// Service might not exist yet or query failed, proceed with start
ui.writeVerbose("Service not found or query failed, attempting to start.");
}
ui.writeVerbose('Running: net start "SafeChainAgent"');