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
3 changes: 2 additions & 1 deletion src/.gitattributes → .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text
# Auto detect text files and normalize line endings to LF
* text=auto eol=lf
*.snk binary
*.png binary

Expand Down
2 changes: 2 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ root = true

[*]
indent_style = space
end_of_line = lf
insert_final_newline = false

[*.cs]
indent_size = 4
Expand Down
3 changes: 2 additions & 1 deletion src/ApiBuilderTests/Splitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ public static async Task Run()
}
lines.Insert(0,"#pragma warning disable");
lines.Insert(0,"// <auto-generated />");
await File.WriteAllLinesAsync(outputPath, lines);
var content = string.Join("\n", lines) + "\n";
await File.WriteAllTextAsync(outputPath, content);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<PackageVersion Include="MarkdownSnippets.MsBuild" Version="28.0.0-beta.8" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" Pinned="true" />
<PackageVersion Include="TUnit" Version="1.5.70" />
<PackageVersion Include="ProjectDefaults" Version="1.0.163" />
<PackageVersion Include="ProjectDefaults" Version="1.0.166" />
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.1" />
<PackageVersion Include="ProjectFiles" Version="0.4.0" />
<PackageVersion Include="System.Memory" Version="4.6.3" />
Expand Down