Skip to content

Commit

Permalink
fix(process-output): make everything optional
Browse files Browse the repository at this point in the history
  • Loading branch information
cenk1cenk2 committed Apr 11, 2023
1 parent 2e90af3 commit 148cb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/process-output/process-output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ProcessOutput {
public readonly stream: ProcessOutputStreamMap
private active: boolean

constructor (stdout: NodeJS.WriteStream, stderr: NodeJS.WriteStream, private readonly options?: ProcessOutputOptions) {
constructor (stdout?: NodeJS.WriteStream, stderr?: NodeJS.WriteStream, private readonly options?: ProcessOutputOptions) {
this.stream = {
stdout: new ProcessOutputStream(stdout ?? process.stdout),
stderr: new ProcessOutputStream(stderr ?? process.stderr)
Expand Down

0 comments on commit 148cb81

Please sign in to comment.