mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-10 09:33:58 +00:00
Warn on generated wrapper overwrites and status diagnostics (#90537)
Merged via squash.
Prepared head SHA: c6b6589e6d
Co-authored-by: TurboTheTurtle <35905412+TurboTheTurtle@users.noreply.github.com>
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Reviewed-by: @vincentkoc
This commit is contained in:
@@ -156,6 +156,13 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
|
||||
}
|
||||
},
|
||||
});
|
||||
const warn = (message: string) => {
|
||||
if (json) {
|
||||
warnings.push(message);
|
||||
} else {
|
||||
defaultRuntime.log(message);
|
||||
}
|
||||
};
|
||||
|
||||
await installDaemonServiceAndEmit({
|
||||
serviceNoun: "Node",
|
||||
@@ -167,6 +174,7 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
|
||||
await service.install({
|
||||
env: process.env,
|
||||
stdout,
|
||||
warn,
|
||||
programArguments,
|
||||
workingDirectory,
|
||||
environment,
|
||||
|
||||
Reference in New Issue
Block a user