We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c46a7 commit 029706dCopy full SHA for 029706d
scripts/checks/generation.sh
@@ -3,4 +3,4 @@
3
set -euo pipefail
4
5
npm run generate
6
-git diff --exit-code
+git diff -R --exit-code
scripts/generate/run.js
@@ -7,7 +7,7 @@ function getVersion (path) {
7
try {
8
return fs
9
.readFileSync(path, 'utf8')
10
- .match(/\/\/ OpenZeppelin Contracts \(last updated v\d+\.\d+\.\d+\)/)[0];
+ .match(/\/\/ OpenZeppelin Contracts \(last updated v[^)]+\)/)[0];
11
} catch (err) {
12
return null;
13
}
0 commit comments