File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ class GasIncrementByOne extends BaseChecker {
6060 const leftVar = this . extractVariableName ( left )
6161 let rightValue
6262
63- // asignment and operation
63+ // assignment and operation
6464 if ( operator === '+=' || operator === '-=' ) {
6565 rightValue = right . type === 'NumberLiteral' && parseInt ( right . number ) === 1
6666 return { result : leftVar && rightValue , varName : leftVar }
6767 }
68- // regular asignment
68+ // regular assignment
6969 else if ( operator === '=' ) {
7070 const rightVar = this . extractVariableName ( right . left )
7171 rightValue =
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class NamedParametersMappingChecker extends BaseChecker {
6969 let isNested = false
7070 const variables = node . variables
7171 variables . forEach ( ( variable ) => {
72- // maybe the comparission to VariableDeclaration can be deleted
72+ // maybe the comparison to VariableDeclaration can be deleted
7373 if ( variable . type === 'VariableDeclaration' && variable . typeName . type === 'Mapping' ) {
7474 if ( variable . typeName . valueType . type === 'Mapping' ) {
7575 // isNested mapping
You can’t perform that action at this time.
0 commit comments