Skip to content

Commit 84c78cc

Browse files
authored
Make sure that output produce is never null
1 parent c5fdd06 commit 84c78cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Xrm.Oss.XTL.Interpreter/XTLInterpreter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public string Produce()
437437

438438
var output = Formula(new Dictionary<string, ValueExpression> { });
439439

440-
return output?.Text;
440+
return output?.Text ?? string.Empty;
441441
}
442442
}
443443
}

0 commit comments

Comments
 (0)