Skip to content

Commit

Permalink
minor indentation tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
austencollins committed Aug 15, 2017
1 parent 35499a5 commit 1720e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/run/utils/logEventGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ const processMessage = msg => {
} else if (parsedMsg.msg === 'Function triggered.') {
const event = JSON.parse(parsedMsg.event);
const text = `Function '${parsedMsg.functionId}' triggered by event '${event.event}'${os.EOL}`;
return `${serverlessPrefix}${text}`;
return `${serverlessPrefix} ${text}`;
} else if (parsedMsg.msg === 'Function finished.') {
const response = prettifyValue(JSON.parse(parsedMsg.response));
const text = `Function '${parsedMsg.functionId}' finished:${os.EOL}${os.EOL}${colorDim(response)}${os.EOL}`;
return `${serverlessPrefix}${text}`;
return `${serverlessPrefix} ${text}`;
} else {
return false;
}
Expand Down

0 comments on commit 1720e2d

Please sign in to comment.