fix(processmonitor): Bump tsbuild devDependency and relax ps-tree callback typing in ProcessMonitor
This commit is contained in:
		@@ -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'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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