mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Handle code quality comments
This commit is contained in:
parent
fa94784130
commit
d86246a71d
3 changed files with 7 additions and 5 deletions
|
|
@ -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"');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue