From dd78aef3db23195daf23f534a9eaae13406abeb1 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 17 May 2018 09:10:40 -0400 Subject: [PATCH] fix vyper .vy --- lib/modules/vyper/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules/vyper/index.js b/lib/modules/vyper/index.js index f05ba4aa..c8051531 100644 --- a/lib/modules/vyper/index.js +++ b/lib/modules/vyper/index.js @@ -9,7 +9,9 @@ class Vyper { this.events = embark.events; this.contractDirectories = options.contractDirectories; + // FIXME: Use array of extensions instead of duplicatiing embark.registerCompiler(".py", this.compile_vyper.bind(this)); + embark.registerCompiler(".vy", this.compile_vyper.bind(this)); } static compileVyperContract(filename, compileABI, callback) {