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

Improve extended debug messsaging logic #12

Open
naz opened this issue Dec 4, 2018 · 0 comments
Open

Improve extended debug messsaging logic #12

naz opened this issue Dec 4, 2018 · 0 comments

Comments

@naz
Copy link
Member

naz commented Dec 4, 2018

At the moment, there are multiple places in converter.js that use the following structure:

 if (debugExtended.enabled) {
   debug(`(buildRelationQuery) ...`);
}

This could be extracted to a method like debug(extended) to avoid having if's in multiple
places.


Related discussion

@daniellockyer daniellockyer transferred this issue from TryGhost/mongo-knex Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant