aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 07:10:15 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 07:10:15 +0800
commit6eebd693ce902068c58eac81c8d29cbfd48c1b86 (patch)
tree7c0a8b12d2e502cfa4854dadf223e3e02adbb059 /packages/sol-compiler
parente0c0584c593e3d948652c1cb58f39042c5b8f488 (diff)
downloaddexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.gz
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.bz2
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.lz
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.xz
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.tar.zst
dexon-0x-contracts-6eebd693ce902068c58eac81c8d29cbfd48c1b86.zip
Fix solidityVersion schema regex
Diffstat (limited to 'packages/sol-compiler')
-rw-r--r--packages/sol-compiler/src/schemas/compiler_options_schema.ts2
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: [