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