Skip to content

Commit

Permalink
refactor: simplify, remove else condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jul 30, 2022
1 parent 7d826b1 commit df77e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/handler-runner/go-runner/GoRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class GoRunner {
for (const item of value.split(EOL)) {
if (item.indexOf(PAYLOAD_IDENTIFIER) === -1) {
logs.push(item)
} else if (item.indexOf(PAYLOAD_IDENTIFIER) !== -1) {
} else {
try {
const {
offline_payload: { success, error },
Expand Down

0 comments on commit df77e14

Please sign in to comment.