Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Apr 29, 2024
1 parent 8cb07fd commit 4c8bd6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/pretty-print.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ module.exports = {
console.log(' ')
}
})
}
},
}
4 changes: 2 additions & 2 deletions src/read-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function read ({ aws, name }, callback) {
aws.cloudwatchlogs.DescribeLogStreams({
logGroupName: name,
descending: true,
orderBy: 'LastEventTime'
orderBy: 'LastEventTime',
})
.then(data => callback(null, data))
.catch(err => {
Expand Down Expand Up @@ -70,6 +70,6 @@ function read ({ aws, name }, callback) {
let events = results.map(r => r.events).reduce((a, b) => a.concat(b))
callback(null, events)
}
}
},
], callback)
}
8 changes: 4 additions & 4 deletions test/get-logical-id-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ let inventory
function setUp () {
let fakePluginPath = join('src', 'plugins', 'myplugin.js')
let tmp = mockTmp({
[fakePluginPath]: '// fake file contents'
[fakePluginPath]: '// fake file contents',
})
mockRequire(join(tmp, fakePluginPath), {
set: {
customLambdas: () => {
return {
name: 'a-custom-lambda',
src: join('src', 'myplugin', 'custom-funk')
src: join('src', 'myplugin', 'custom-funk'),
}
}
}
},
},
})
return tmp
}
Expand Down

0 comments on commit 4c8bd6e

Please sign in to comment.