-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/jst 453 #49
Feature/jst 453 #49
Conversation
name: "npm", | ||
}; | ||
|
||
const ua = userAgent ?? process.env["npm_config_user_agent"]; |
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.
if userAgent === ""
this will evaluate to ""
, is this the expected 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.
Yes, if we pass a userAgent, we want to use it, ignoring the env, even if it's empty.
* | ||
* @param userAgent Optional user agent. | ||
*/ | ||
export function getPackageManager(userAgent?: string) { |
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.
What's the point of this arg if you never use it? (the only call to getPackageManager
has no args provided)
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.
When I get a bit more free time, I'll add an option to command line to specify the package manager.
🎉 This PR is included in version 1.1.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Installs dependencies at the end of
golem-sdk new
command (if --skip-install is not set)