Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
fix: action output
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 12, 2018
1 parent 589863b commit 87900d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class ActionBase {
let cur = this.stdmocks.shift() as ['stdout' | 'stderr', string[]]
std = cur[0]
this._write(std, cur[1])
output += cur[1].map((a: any) => a.toString('utf8')).join('')
output += (cur[1][0] as any).toString('utf8')
}
// add newline if there isn't one already
// otherwise we'll just overwrite it when we render
Expand Down

0 comments on commit 87900d3

Please sign in to comment.