Update dependency eslint to v9 (#4996)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
This commit is contained in:
renovate[bot]
2024-10-23 08:31:39 +02:00
committed by GitHub
parent 29f4059773
commit 205f59e9b6
20 changed files with 311 additions and 229 deletions

View File

@ -8,7 +8,7 @@ const format = require('./format-lines');
function getVersion(path) {
try {
return fs.readFileSync(path, 'utf8').match(/\/\/ OpenZeppelin Contracts \(last updated v[^)]+\)/)[0];
} catch (err) {
} catch {
return null;
}
}