mirror of
https://github.com/immich-app/immich.git
synced 2026-05-01 13:30:39 -04:00
refactor: prefer Object.assign
This commit is contained in:
parent
ff13ba5f6e
commit
82e004db7d
@ -101,9 +101,6 @@ export class ProcessRepository {
|
||||
}
|
||||
});
|
||||
|
||||
// attach _process to Duplex for testing suite
|
||||
(duplex as never as { _process: ChildProcessWithoutNullStreams })._process = process;
|
||||
|
||||
return duplex;
|
||||
return Object.assign(duplex, { _process: process });
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user