Verify that compiler for extension hasn't been loaded
This commit is contained in:
parent
fd1b9d80f9
commit
3dd4b2ada9
|
@ -16,7 +16,8 @@ class Compiler {
|
|||
|
||||
let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers');
|
||||
pluginCompilers.forEach(function (compilerObject) {
|
||||
available_compilers[compilerObject.extension] = compilerObject.cb;
|
||||
if(available_compilers[compilerObject.extension] === undefined)
|
||||
available_compilers[compilerObject.extension] = compilerObject.cb;
|
||||
});
|
||||
|
||||
let compiledObject = {};
|
||||
|
|
Loading…
Reference in New Issue