Skip to content

Commit 44ab9ed

Browse files
AndreiBozantandandanlen
authored andcommitted
fixed bug in email check condition
1 parent 4d0d497 commit 44ab9ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/explorer/Explorers/TextColumnExplorer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static async Task<bool> CheckIsEmail(DConnection conn, ExplorerContext c
187187
var emailCheck = await conn.Exec(
188188
new TextColumnTrim(ctx.Table, ctx.Column, TextColumnTrimType.Both, EmailAddressChars));
189189

190-
return emailCheck.Rows.All(r => r.IsNull || r.Value == "@");
190+
return emailCheck.Rows.All(r => r.IsNull || (!r.IsSuppressed && r.Value == "@"));
191191
}
192192

193193
private static async Task<SubstringWithCountList> ExploreEmailDomains(DConnection conn, ExplorerContext ctx)

0 commit comments

Comments
 (0)