Skip to content

Conversation

@rtritto
Copy link
Member

@rtritto rtritto commented Aug 24, 2022

This change is Reviewable


Remove callbacks for #857

Copy link
Member

@BlackthornYugen BlackthornYugen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @rtritto)


lib/routes/database.js line 60 at r1 (raw file):

      });

      // await ndb.dropCollection('delete_me').then(() => {

Can we delete the commented code?

@rtritto
Copy link
Member Author

rtritto commented Aug 24, 2022

I don't know, there should be some reason for that code.

Copy link
Member

@BlackthornYugen BlackthornYugen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general I'd try to avoid keeping commented code arround but since it was there before your change I guess it's okay. 😛

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @rtritto)

Copy link
Member

@BlackthornYugen BlackthornYugen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @rtritto)

@BlackthornYugen BlackthornYugen merged commit dbf85d2 into mongo-express:master Aug 24, 2022
@rtritto rtritto deleted the remove-bluebird branch September 1, 2022 16:26
@rtritto rtritto added this to the 1.1 milestone Dec 23, 2022
Mamoona-Ghania pushed a commit to FaizaAslam013/Devops-Mids-Exam that referenced this pull request Dec 13, 2025
Remove Bluebird and replace callbacks with async/await
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants