Skip to content

Commit

Permalink
add: explanation to script
Browse files Browse the repository at this point in the history
  • Loading branch information
dbale-altoros committed Feb 28, 2024
1 parent 9e2a071 commit 507f9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/best-practises/explicit-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class ExplicitTypesChecker extends BaseChecker {
// previous script searches all json and if two uint/uint256/ufixed/etc are in the same line
// it will return two set of range values
// this is to remove the first one if it's already been corrected
// and to push it to the array to store the corrected ones
// and to push it to the array to store the corrected ones
if (alreadyFixedRanges.includes(range[0])) {
range.shift()
}
Expand Down

0 comments on commit 507f9e9

Please sign in to comment.