Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Fixed NuGet/NuGetGallery#1917 by fixing up the little bugs #1

Merged
merged 1 commit into from
Feb 24, 2014

Conversation

analogrelay
Copy link
Contributor

var dc = environment.Datacenters.FirstOrDefault(d => d.Id == datacenter);
if (dc == null)
if (dc == null && required)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a "required" flag to our GetDatacenter helper that allows it to return null. If required=true, it will throw if there is no active environment or if the datacenter # provided does not exist.

analogrelay added a commit that referenced this pull request Feb 24, 2014
@analogrelay analogrelay merged commit e5ca64e into master Feb 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small bugs in 'nucmd package delete' command
1 participant