Change based in code review

This commit is contained in:
Richard Ramos 2018-06-01 08:12:42 -04:00 committed by Jonathan Rainville
parent 02de6089ed
commit dac06c10ea
1 changed files with 1 additions and 1 deletions

View File

@ -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);