Skip to content

Commit

Permalink
Cleaner check
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebrie committed Jun 27, 2019
1 parent 8e01599 commit 709809c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -181,8 +181,8 @@ function handleLogs() {
const logGroupName = `/aws/api-gateway/${service}-${stage}`;

let logFormat = defaultApiGatewayLogFormat;
if (typeof provider.logs.restApi === 'object' && provider.logs.restApi.format) {
logFormat = provider.logs.restApi.format;
if (typeof logs === 'object' && logs.format) {
logFormat = logs.format;
}

const destinationArn = {
Expand Down

0 comments on commit 709809c

Please sign in to comment.