Skip to content

Commit fad01cf

Browse files
committed
add option not null check
1 parent 7ff9724 commit fad01cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.ML.Data/DataLoadSave/Text/TextLoader.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@ private static bool TryParseSchema(IHost host, IMultiStreamSource files,
12321232
{
12331233
host.AssertValue(host);
12341234
host.AssertValue(files);
1235+
host.CheckValue(options, nameof(options));
12351236

12361237
cols = null;
12371238
error = false;

0 commit comments

Comments
 (0)