Skip to content

Commit

Permalink
fix csharp 6 sintax
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Jun 28, 2019
1 parent 2bf7643 commit 909eefb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/ConfigTransformationTool/TransformationTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ public class TransformationTask
/// </summary>
public TransformationTask(OutputLog log)
{
_log = log ?? throw new ArgumentNullException(nameof(log));
if (log == null)
{
throw new ArgumentNullException(nameof(log));
}
_log = log;
_transformationLogger = new TransformationLogger(log);
IndentChars = " ";
}
Expand Down

0 comments on commit 909eefb

Please sign in to comment.