Skip to content

Commit

Permalink
refactor: re-activate unicorn/no-array-push-push
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Sep 20, 2023
1 parent 6f973cb commit 69a1261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ module.exports = {
'unicorn/no-abusive-eslint-disable': 'off',
'unicorn/no-array-callback-reference': 'off',
'unicorn/no-array-for-each': 'off',
'unicorn/no-array-push-push': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-lonely-if': 'off',
Expand Down
6 changes: 4 additions & 2 deletions src/ServerlessOffline.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ export default class ServerlessOffline {
const eventModules = []

if (this.#lambda) {
eventModules.push(this.#lambda.cleanup())
eventModules.push(this.#lambda.stop(SERVER_SHUTDOWN_TIMEOUT))
eventModules.push(
this.#lambda.cleanup(),
this.#lambda.stop(SERVER_SHUTDOWN_TIMEOUT),
)
}

if (this.#alb) {
Expand Down

0 comments on commit 69a1261

Please sign in to comment.