Skip to content

Commit 12ba60e

Browse files
committed
One more bracket error
1 parent 900704d commit 12ba60e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/TestableIO.System.IO.Abstractions.TestingHelpers/Events/MockFileSystemEvents.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ public IDisposable Subscribe(FileOperation operation, Action<FileSystemOperation
116116
/// <returns>A disposable that removes the subscription when disposed.</returns>
117117
public IDisposable Subscribe(FileOperation[] operations, Action<FileSystemOperationEventArgs> handler)
118118
{
119-
if (handler == null)
119+
if (handler == null) {
120120
throw new ArgumentNullException(nameof(handler));
121+
}
122+
121123
if (operations == null)
122124
{
123125
throw new ArgumentNullException(nameof(operations));

0 commit comments

Comments
 (0)