Skip to content

Commit 4ba7fcf

Browse files
committed
Revert: Linux Control 文件删掉最后的空行
1 parent ec24267 commit 4ba7fcf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

DebUOS/Packaging.DebUOS/DebUOSPackageFileStructCreator.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,6 @@ public void CreatePackagingFolder(DebUOSConfiguration configuration)
381381
stringBuilder.Append($"X-Package-System: {configuration.DebControlXPackageSystem}\n");
382382
}
383383

384-
// 去掉最后的空行
385-
if (stringBuilder[^1] == '\n')
386-
{
387-
stringBuilder.Remove(stringBuilder.Length - 1, 1);
388-
}
389384
File.WriteAllText(controlFile, stringBuilder.ToString(), encoding);
390385
}
391386

0 commit comments

Comments
 (0)