Skip to content

Commit

Permalink
♻️ replacee map by forEach (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychota committed Oct 21, 2019
1 parent cef4b62 commit ff7a45c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- checkout
- restore_cache:
keys:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run:
Expand Down
2 changes: 1 addition & 1 deletion src/nest-rabbit-tasks.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class NestRabbitTasksModule implements OnModuleInit {
}

private bindMessageFromQueueToMessageHandlerInWorker() {
this.explorer.explore().map(({ worker, queueConnection }: QueueConnectionAndWorkerBindParams) => {
this.explorer.explore().forEach(({ worker, queueConnection }: QueueConnectionAndWorkerBindParams) => {
if (!queueConnection) {
// The error was already reported earlier
return;
Expand Down

0 comments on commit ff7a45c

Please sign in to comment.