From bf4d40d8c8b4e378e5330042630bddcf80ee94ea Mon Sep 17 00:00:00 2001 From: argentpapa Date: Wed, 18 Dec 2024 19:43:48 +0800 Subject: [PATCH] Fix pragma-consistency.js's comment (#5381) --- scripts/checks/pragma-consistency.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checks/pragma-consistency.js b/scripts/checks/pragma-consistency.js index f2f3c548f59..cf74cd27a72 100755 --- a/scripts/checks/pragma-consistency.js +++ b/scripts/checks/pragma-consistency.js @@ -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])) {