style: fix linting errors, ref: NOISSUE
This commit is contained in:
@@ -21,7 +21,7 @@ class StringBlock : BuildingBlockBase
|
||||
{
|
||||
word = inputs.YieldWord();
|
||||
}
|
||||
|
||||
|
||||
return this.CanParseWord(word);
|
||||
}
|
||||
|
||||
@@ -29,11 +29,11 @@ class StringBlock : BuildingBlockBase
|
||||
{
|
||||
// Here we need to ensure we are not matching any non-string tokens, since string can match pretty much anything
|
||||
IntegerBlock intBlock = new IntegerBlock();
|
||||
if(intBlock.CanParseWord(word))
|
||||
if (intBlock.CanParseWord(word))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,9 +43,9 @@ public class TokenConverter
|
||||
// in order to convert rows to columns or grid we require every row to have the same length
|
||||
int rowLength = this.rawTokens[0].Count;
|
||||
|
||||
foreach(var tokenRow in this.rawTokens)
|
||||
foreach (var tokenRow in this.rawTokens)
|
||||
{
|
||||
if(tokenRow.Count != rowLength)
|
||||
if (tokenRow.Count != rowLength)
|
||||
{
|
||||
throw new Exception("Attempted to convert token dataset that is not able to be converted!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user