-
Notifications
You must be signed in to change notification settings - Fork 63
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
Swap deps to local dev lib part 3 #955
Changes from 11 commits
765fd4f
6c577d0
cd7cc7a
3a2db36
f21803e
64864e0
f29ad3a
8ec0178
da13edb
003c726
ab5d0d8
1095b70
27828a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const { trackUsage } = require('@hubspot/cli-lib/api/fileMapper'); | ||
const { trackUsage } = require('@hubspot/local-dev-lib/trackUsage'); | ||
const { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I realized that our trackUsage in local-dev-lib never returns anything. There are areas in the CLI that rely on a response being returned (like here). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like |
||
isTrackingAllowed, | ||
getAccountConfig, | ||
|
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.
There's a small change in the behavior of
walk
. It used to log a debug log and then return an empty array. Now it throws on errors in the catch block. We may need to update all of the usages ofwalk
to catch the thrown error and default to an empty array so we have parity in the behavior.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.
Ooh good catch!