We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As part of #1725 we've added a memoise lib to our global-config module as its being required in multiple places such as telemetry and hooks and we wanted to avoid loading the config file multiple times. Ideally the getGlobalConfig should be called once when initialising our command - https://github.com/netlify/cli/blob/master/src/utils/command.js#L82 - and used from there afterwards. This will also allow us to remove the memoise usage afterwards - https://github.com/netlify/cli/blob/master/src/utils/get-global-config.js#L32
telemetry
hooks
getGlobalConfig
command
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As part of #1725 we've added a memoise lib to our global-config module as its being required in multiple places such as
telemetry
andhooks
and we wanted to avoid loading the config file multiple times. Ideally thegetGlobalConfig
should be called once when initialising ourcommand
- https://github.com/netlify/cli/blob/master/src/utils/command.js#L82 - and used from there afterwards. This will also allow us to remove the memoise usage afterwards - https://github.com/netlify/cli/blob/master/src/utils/get-global-config.js#L32The text was updated successfully, but these errors were encountered: