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

Commit

Permalink
Update Cake.Issues 0.3.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Jun 3, 2018
1 parent 3c5601b commit e379020
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/Cake.Issues.DocFx.Tests/Cake.Issues.DocFx.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
<HintPath>..\packages\Cake.Core.0.28.0\lib\net46\Cake.Core.dll</HintPath>
</Reference>
<Reference Include="Cake.Issues, Version=0.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Cake.Issues.0.3.0-beta0001\lib\netstandard2.0\Cake.Issues.dll</HintPath>
<HintPath>..\packages\Cake.Issues.0.3.0-beta0003\lib\netstandard2.0\Cake.Issues.dll</HintPath>
</Reference>
<Reference Include="Cake.Issues.Testing, Version=0.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Cake.Issues.Testing.0.3.0-beta0001\lib\netstandard2.0\Cake.Issues.Testing.dll</HintPath>
<HintPath>..\packages\Cake.Issues.Testing.0.3.0-beta0002\lib\netstandard2.0\Cake.Issues.Testing.dll</HintPath>
</Reference>
<Reference Include="Cake.Testing, Version=0.28.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Cake.Testing.0.28.0\lib\net46\Cake.Testing.dll</HintPath>
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Issues.DocFx.Tests/DocFxProviderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void Should_Read_Issue_Correct(string docRootPath, string docRelativePath
null,
"Build Document.LinkPhaseHandler.Apply Templates",
null,
0,
300,
"Warning",
"Invalid cross reference \"[Foo](xref:foo)\".");
}
Expand All @@ -84,7 +84,7 @@ public void Should_Read_Line_Correct()
45,
"Build Document.LinkPhaseHandler.ConceptualDocumentProcessor.Save",
null,
0,
300,
"Warning",
"Invalid file link:(~/foo.md).");
}
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Issues.DocFx.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake.Core" version="0.28.0" targetFramework="net461" />
<package id="Cake.Issues" version="0.3.0-beta0001" targetFramework="net461" />
<package id="Cake.Issues.Testing" version="0.3.0-beta0001" targetFramework="net461" />
<package id="Cake.Issues" version="0.3.0-beta0003" targetFramework="net461" />
<package id="Cake.Issues.Testing" version="0.3.0-beta0002" targetFramework="net461" />
<package id="Cake.Testing" version="0.28.0" targetFramework="net461" />
<package id="Shouldly" version="3.0.0" targetFramework="net46" />
<package id="StyleCop.Analyzers" version="1.0.2" targetFramework="net46" developmentDependency="true" />
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Issues.DocFx/Cake.Issues.DocFx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<HintPath>..\packages\Cake.Core.0.28.0\lib\net46\Cake.Core.dll</HintPath>
</Reference>
<Reference Include="Cake.Issues, Version=0.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Cake.Issues.0.3.0-beta0001\lib\netstandard2.0\Cake.Issues.dll</HintPath>
<HintPath>..\packages\Cake.Issues.0.3.0-beta0003\lib\netstandard2.0\Cake.Issues.dll</HintPath>
</Reference>
<Reference Include="Costura, Version=1.6.2.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.1.6.2\lib\dotnet\Costura.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Issues.DocFx/DocFxIssuesAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static string DocFxIssuesProviderTypeName(
{
context.NotNull(nameof(context));

return Issue<DocFxIssuesProvider>.GetProviderTypeName();
return typeof(DocFxIssuesProvider).FullName;
}

/// <summary>
Expand Down
14 changes: 6 additions & 8 deletions src/Cake.Issues.DocFx/DocFxIssuesProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ from logEntry in this.settings.LogFileContent.Split(new[] { '{', '}' }, StringSp
severity == "warning" &&
!string.IsNullOrWhiteSpace(message)
select
new Issue<DocFxIssuesProvider>(
this,
file,
line,
message,
0,
"Warning",
source);
IssueBuilder
.NewIssue(message, this)
.InFile(file, line)
.OfRule(source)
.WithPriority(IssuePriority.Warning)
.Create();
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Issues.DocFx/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake.Core" version="0.28.0" targetFramework="net461" />
<package id="Cake.Issues" version="0.3.0-beta0001" targetFramework="net461" />
<package id="Cake.Issues" version="0.3.0-beta0003" targetFramework="net461" />
<package id="Costura.Fody" version="1.6.2" targetFramework="net461" developmentDependency="true" />
<package id="Fody" version="2.5.0" targetFramework="net461" developmentDependency="true" />
<package id="Microsoft.CodeAnalysis.FxCopAnalyzers" version="2.6.0" targetFramework="net461" developmentDependency="true" />
Expand Down

0 comments on commit e379020

Please sign in to comment.