Skip to content

Commit

Permalink
Fix pragma-consistency.js's comment (#5381)
Browse files Browse the repository at this point in the history
  • Loading branch information
argentpapa authored Dec 18, 2024
1 parent 73b46e3 commit bf4d40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checks/pragma-consistency.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for (const artifact of artifacts) {
const minVersion = semver.minVersion(pragma[source]);
// loop over all imports in source
for (const { absolutePath } of findAll('ImportDirective', solcOutput.sources[source].ast)) {
// So files that only import without declaring anything cause issues, because they don't shop in in "pragma"
// So files that only import without declaring anything cause issues, because they don't shop in "pragma"
if (!pragma[absolutePath]) continue;
// Check that the minVersion for source satisfies the requirements of the imported files
if (!semver.satisfies(minVersion, pragma[absolutePath])) {
Expand Down

0 comments on commit bf4d40d

Please sign in to comment.