Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

watashiSHUN
Copy link
Contributor

since "nuget restore" were called in different template, it make sense to just use a variable and centralize it.
it should fix #46

// 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;
Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NuGet package restore should use -NonInteractive flag
2 participants