fix(processmonitor): Bump tsbuild devDependency and relax ps-tree callback typing in ProcessMonitor

This commit is contained in:
2025-08-30 22:08:24 +00:00
parent 92a6ecac71
commit 1340c1c248
5 changed files with 54 additions and 16 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tspm',
version: '5.4.0',
version: '5.4.1',
description: 'a no fuzz process manager'
}

View File

@@ -311,7 +311,7 @@ export class ProcessMonitor extends EventEmitter {
plugins.psTree(
pid,
(err: Error | null, children: Array<{ PID: string }>) => {
(err: any, children: ReadonlyArray<{ PID: string }>) => {
if (err) {
const processError = new ProcessError(
`Failed to get process tree: ${err.message}`,