Fix solidityVersion schema regex

This commit is contained in:
Leonid Logvinov 2018-06-11 16:10:15 -07:00
parent e0c0584c59
commit 6eebd693ce
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -3,7 +3,7 @@ export const compilerOptionsSchema = {
properties: {
contractsDir: { type: 'string' },
artifactsDir: { type: 'string' },
solcVersion: { type: 'string', pattern: '^d+.d+.d+$' },
solcVersion: { type: 'string', pattern: '^\\d+.\\d+.\\d+$' },
compilerSettings: { type: 'object' },
contracts: {
oneOf: [