Skip to content

Commit

Permalink
Add comment to generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat committed Jun 12, 2024
1 parent 7ff3a01 commit f70f4b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ internal void WriteApis(string outputFilePath, byte[] peImage)
// Doc ids start with "X:" prefix, where X is member kind ('T', 'M' or 'F'):
apis.Sort(static (x, y) => x.AsSpan()[2..].CompareTo(y.AsSpan()[2..], StringComparison.Ordinal));

var newContent = string.Join("\r\n", apis);
var newContent = "# Generated, do not update manually\r\n" +
string.Join("\r\n", apis);

string currentContent;
try
Expand Down

0 comments on commit f70f4b3

Please sign in to comment.