(Fix) checkForClashing.js

This commit is contained in:
Vadim Arasev 2018-12-12 14:27:00 +03:00
parent 478e719836
commit 389debd36b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ async function main() {
for (let i = 0; i < filenames.length; i++) {
const filename = filenames[i];
if (filename.indexOf('.sol') != filename.length - 4) {
if (!filename.endsWith('.sol')) {
continue;
}