Skip to content

Commit

Permalink
Fix action process 'stdout' processing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arik Kfir committed Dec 3, 2017
1 parent 4c5de18 commit b9eef38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployster.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def execute(self,
except JSONDecodeError as e:
raise UserError(f"action '{self.name}' provided invalid JSON:\n{process.stdout}") from e
else:
return process.stdout.decode('utf-8')
return process.stdout

# otherwise, if JSON expected, fail (empty response & JSON expected)
elif expect_json:
Expand Down

0 comments on commit b9eef38

Please sign in to comment.