Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ updates:
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
default-days: 7
5 changes: 3 additions & 2 deletions src/Docs/ApiDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ public static async Task<ApiDocument> CreateFromMarkdownFile(string filePath)
public async Task AddOrUpdateIncludeLine(bool removeOldIncludes, string? includeDirectory = null)
{
var lines = new List<string>(await File.ReadAllLinesAsync(FilePath));
var relativeIncludeDirectoryPath = string.IsNullOrEmpty(includeDirectory) ?
"../../includes" : GetIncludePathRelativeToFile(FilePath, includeDirectory);
var relativeIncludeDirectoryPath = string.IsNullOrEmpty(includeDirectory)
? "../../includes"
: GetIncludePathRelativeToFile(FilePath, includeDirectory);

// Check if INCLUDE line already exists
var includeLine = lines.FirstOrDefault(line => line.Contains("[!INCLUDE [national-cloud-support]"));
Expand Down
2 changes: 1 addition & 1 deletion test/CheckCloudSupportTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="10.1.1">
<PackageReference Include="coverlet.collector" Version="10.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down