-
Notifications
You must be signed in to change notification settings - Fork 64
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
Update some more of the cms imports to use local-dev-lib #977
Conversation
This is ready for review now, although it's dependent on the latest changes over in local-dev-lib. We will need to cut a new patch release of LDL before merging/releasing this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works well! Should be good to merge once LDL update is out
|
||
// Update the log level in local-dev-lib's instance of the logger | ||
// This will evenutally replace cli-lib's version of it | ||
setLocalDevLibLogLevel(LOG_LEVEL.DEBUG); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized that certain log statements in local-dev-lib were not working correctly. It was because the default log level is NONE
, and we were only setting the log level to LOG
for the cli-lib instance of the logger.
Good catch with the log level stuff. Also this whole PR is a pretty solid case against log callbacks. Looks like there are some tests failing but otherwise looks good |
I updated everything that uses logCallbacks in response to: HubSpot/hubspot-local-dev-lib#95 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Log callback stuff looks good!
Description and Context
Updating imports for
cli-lib/functions
,cli-lib/modules
, andcli-lib/templates
to pull from their new local-dev-lib counterparts.Screenshots
TODO
Who to Notify