Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for mongoose #6

Closed
oprogramador opened this issue Nov 26, 2018 · 5 comments · Fixed by #9
Closed

Doesn't work for mongoose #6

oprogramador opened this issue Nov 26, 2018 · 5 comments · Fixed by #9
Labels
bug 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted

Comments

@oprogramador
Copy link

oprogramador commented Nov 26, 2018

Issuehunt badges

For other libraries it's OK but I have problems with clearing mongoose.

OS: Mac OS X 10.12.6
Node.js: 10.13.0
clear-module: 3.0.0
mongoose: 5.3.13

const mongoose = require('mongoose');
const clearModule = require('clear-module');

clearModule('mongoose');
console.log(require('mongoose') === mongoose); // I expect false but it's true

IssueHunt Summary

omrilotan omrilotan has been rewarded.

Backers (Total: $40.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

@oprogramador
Copy link
Author

this #7 should fix

@sindresorhus sindresorhus changed the title doesn't work for mongoose Doesn't work for mongoose Dec 25, 2018
@IssueHuntBot
Copy link

@IssueHunt has funded $40.00 to this issue.


@oprogramador
Copy link
Author

@IssueHuntBot

I opened this PR #7 but it was rejected.

@sindresorhus
Copy link
Owner

@oprogramador #7 was not the correct way to fix the issue. I commented that in the PR.

@issuehunt-oss issuehunt-oss bot added the 💵 Funded on Issuehunt This issue has been funded on Issuehunt label May 10, 2019
@issuehunt-oss
Copy link

issuehunt-oss bot commented Jul 4, 2019

@sindresorhus has rewarded $36.00 to @omrilotan. See it on IssueHunt

  • 💰 Total deposit: $40.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $4.00

@issuehunt-oss issuehunt-oss bot added 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt and removed 💵 Funded on Issuehunt This issue has been funded on Issuehunt labels Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants