Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

correct the fallback order for runtime.json #2893

Closed
wants to merge 4 commits into from

Conversation

analogrelay
Copy link
Contributor

@@ -229,8 +229,8 @@ public RestoreCommand(FrameworkName fallbackFramework)
.Where(x => x.Severity == DiagnosticMessageSeverity.Error)
.Select(x => x.Message);

throw new InvalidOperationException(errorMessages.Any() ?
$"Errors occured when while parsing project.json:{Environment.NewLine}{string.Join(Environment.NewLine, errorMessages)}" :
throw new InvalidOperationException(errorMessages.Any() ?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just fallout from running Ctrl-K Ctrl-D :)

@analogrelay
Copy link
Contributor Author

Travis only failed on OSX and it was because of a fix I made in dev that needs to be ported here.

@davidfowl
Copy link
Member

Add a test. The fact that we have no coverage doesn't inspire confidence 😄

@analogrelay
Copy link
Contributor Author

Adding much more than a mocked-up unit test is going to take a significant effort, so it depends on when we need to get this in.

@analogrelay
Copy link
Contributor Author

I'll build a unit test to start with. We can see what that looks like

@analogrelay
Copy link
Contributor Author

Added a unit test.

@analogrelay analogrelay force-pushed the anurse/2891-runtime-fallback-order branch from b035752 to b7f196a Compare October 2, 2015 19:20
@analogrelay
Copy link
Contributor Author

ping @davidfowl

@davidfowl
Copy link
Member

:shipit:

@analogrelay analogrelay closed this Oct 3, 2015
@analogrelay analogrelay deleted the anurse/2891-runtime-fallback-order branch October 3, 2015 01:38
@analogrelay
Copy link
Contributor Author

Merged

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

Successfully merging this pull request may close these issues.

3 participants