mirror of https://github.com/embarklabs/embark.git
Change based in code review
This commit is contained in:
parent
02de6089ed
commit
dac06c10ea
|
@ -16,7 +16,7 @@ class Compiler {
|
|||
|
||||
let pluginCompilers = self.plugins.getPluginsProperty('compilers', 'compilers');
|
||||
pluginCompilers.forEach(function (compilerObject) {
|
||||
if(available_compilers[compilerObject.extension] == undefined){
|
||||
if(!available_compilers[compilerObject.extension]){
|
||||
available_compilers[compilerObject.extension] = [];
|
||||
}
|
||||
available_compilers[compilerObject.extension].push(compilerObject.cb);
|
||||
|
|
Loading…
Reference in New Issue