mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-28 14:34:48 +00:00
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…
x
Reference in New Issue
Block a user