-
Notifications
You must be signed in to change notification settings - Fork 22
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
add NonInteractive to nuget restore #95
base: master
Are you sure you want to change the base?
Conversation
// If no script type is passed, use the default one | ||
if (projectType === ProjectType.wap || projectType === ProjectType.website || projectType === ProjectType.python) { | ||
// For .NET the default script type is batch | ||
scriptType = ScriptType.batch; | ||
scriptType = ScriptType.posh; |
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.
This doesn't sound related to the PR. Also, the comment above needs adjustment, as it says default is batch.
I'm a bit worried about switching to posh for everyone, as I'm not sure it's been well tested.
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.
this is a side effect, I am pushing this to my repo for testing purpose, it will get reverted, and once I smash everything, it will be a NOOP
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.
Ah ok
since "nuget restore" were called in different template, it make sense to just use a variable and centralize it.
it should fix #46