diff --git a/lib/contracts/compiler.js b/lib/contracts/compiler.js index 75ce08f9..f682d214 100644 --- a/lib/contracts/compiler.js +++ b/lib/contracts/compiler.js @@ -16,8 +16,9 @@ class Compiler { let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers'); pluginCompilers.forEach(function (compilerObject) { - if(available_compilers[compilerObject.extension] === undefined) + if(available_compilers[compilerObject.extension] === undefined){ available_compilers[compilerObject.extension] = compilerObject.cb; + } }); let compiledObject = {};