fix(processmonitor): Bump tsbuild devDependency and relax ps-tree callback typing in ProcessMonitor
This commit is contained in:
@@ -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}`,
|
||||
|
Reference in New Issue
Block a user