Skip to content

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 (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