Skip to content

Commit

Permalink
Removed repeated code
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFigueiraMSFT committed Mar 12, 2024
1 parent 66cdfce commit 349f54d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Json.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ public override void CheckSemantics(TexlBinding binding, TexlNode[] args, DType[
}
}

ignoreUnsupportedTypes = nodeValue.Contains(_ignoreUnsupportedTypesEnumValue);
includeBinaryData = nodeValue.Contains(_includeBinaryDataEnumValue);
ignoreBinaryData = nodeValue.Contains(_ignoreBinaryDataEnumValue);

if (includeBinaryData && ignoreBinaryData)
{
errors.EnsureError(optionsNode, TexlStrings.ErrJSONArg2IncompatibleOptions, "JSONFormat.IgnoreBinaryData", "JSONFormat.IncludeBinaryData");
Expand Down

0 comments on commit 349f54d

Please sign in to comment.