Skip to content

Commit 46ed08b

Browse files
author
Cédric Belin
committed
Code formatting [skip ci]
1 parent e603c55 commit 46ed08b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ RunTarget(target);
4949
/// <param name="pattern">The regular expression to find.</param>
5050
/// <param name="replacement">The replacement text.</param>
5151
/// <param name="options">The regular expression options to use.</param>
52-
void ReplaceInFile(FilePath file, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern, string replacement, RegexOptions options = RegexOptions.None) {
52+
void ReplaceInFile(FilePath file, [StringSyntax(StringSyntaxAttribute.Regex)] string pattern, string replacement, RegexOptions options = RegexOptions.None) =>
5353
WriteAllText(file.FullPath, Regex.Replace(ReadAllText(file.FullPath), pattern, replacement, options));
54-
}

0 commit comments

Comments
 (0)