remove nuget dependency in tests
This commit is contained in:
parent
8a420de736
commit
a688885f21
5 changed files with 9 additions and 12 deletions
|
@ -92,12 +92,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
|
||||
var defaultProjectContext = projectContexts.First();
|
||||
|
||||
if (defaultProjectContext.LockFile == null)
|
||||
{
|
||||
MigrationErrorCodes.MIGRATE1012(
|
||||
$"project.lock.json not found in {projectDirectory}, please run dotnet restore before doing migration").Throw();
|
||||
}
|
||||
|
||||
var diagnostics = defaultProjectContext.ProjectFile.Diagnostics;
|
||||
if (diagnostics.Any())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue