diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-12 07:10:15 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-12 07:10:15 +0800 |
commit | 6eebd693ce902068c58eac81c8d29cbfd48c1b86 (patch) | |
tree | 7c0a8b12d2e502cfa4854dadf223e3e02adbb059 /packages/sol-compiler/src | |
parent | e0c0584c593e3d948652c1cb58f39042c5b8f488 (diff) | |
download | dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.gz dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.bz2 dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.lz dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.xz dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.zst dexon-sol-tools-6eebd693ce902068c58eac81c8d29cbfd48c1b86.zip |
Fix solidityVersion schema regex
Diffstat (limited to 'packages/sol-compiler/src')
-rw-r--r-- | packages/sol-compiler/src/schemas/compiler_options_schema.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-compiler/src/schemas/compiler_options_schema.ts b/packages/sol-compiler/src/schemas/compiler_options_schema.ts index 43a9c0879..d4d1b6017 100644 --- a/packages/sol-compiler/src/schemas/compiler_options_schema.ts +++ b/packages/sol-compiler/src/schemas/compiler_options_schema.ts @@ -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: [ |