Skip to content

Commit 07422ce

Browse files
committed
Fix return type to task
1 parent ae357c9 commit 07422ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Atc.CodingRules.Updater/FileHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ namespace Atc.CodingRules.Updater;
22

33
public static class FileHelper
44
{
5+
[SuppressMessage("Performance", "CA1819:Properties should not return arrays", Justification = "OK.")]
56
public static string[] LineBreaks => Helpers.FileHelper.LineBreaks;
67

78
public static string ReadAllText(FileInfo file) => Helpers.FileHelper.ReadAllText(file);
89

9-
public static void WriteAllTextAsync(FileInfo file, string content) => Helpers.FileHelper.WriteAllTextAsync(file, content);
10+
public static Task WriteAllTextAsync(FileInfo file, string content) => Helpers.FileHelper.WriteAllTextAsync(file, content);
1011

1112
public static Collection<FileInfo> SearchAllForElement(
1213
DirectoryInfo projectPath,

0 commit comments

Comments
 (0)