-
-
Notifications
You must be signed in to change notification settings - Fork 797
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
[legacy-framework] Load env vars for blitz new command - ignore cached variables #3043
Conversation
nextjs/packages/next-env/index.ts
Outdated
dev?: boolean, | ||
log: Log = console | ||
log: Log = console, | ||
ignoreCache = false |
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.
Why did you remove dev
?
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.
So ignoreCache
is what fixes the issue right? Makes sense.
It would be slightly better to add an object as the new param as {ignoreCache}
. I always fine unnamed function params error prone, especially when we are in a fork situation.
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.
Why did you remove dev?
Not used in the function body
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.
The change was introduced here: 5d9fcd2
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.
Not used in the function body
Normally I would agree, but in the context of a fork, this makes upstream merges more difficult
71c8893
to
537c8b2
Compare
Closes: blitz-js/legacy-framework#370
What are the changes and their implications?
Not sure if that would be the best way to handle that (I might have missed something), so would love some suggestions if it's not.
Bug Checklist
Feature Checklist
canary
branch)