mirror of https://github.com/embarklabs/embark.git
remove unnecessary if
This commit is contained in:
parent
3fb02befea
commit
947373eafc
|
@ -281,10 +281,8 @@ class CodeGenerator {
|
|||
code += "\n" + embarkjsCode + "\n";
|
||||
|
||||
let pluginsWithCode = this.plugins.getPluginsFor('embarkjsCode');
|
||||
if (pluginsWithCode.length > 0) {
|
||||
for (let plugin of pluginsWithCode) {
|
||||
code += plugin.embarkjs_code.join('\n');
|
||||
}
|
||||
for (let plugin of pluginsWithCode) {
|
||||
code += plugin.embarkjs_code.join('\n');
|
||||
}
|
||||
|
||||
//code += "\n" + fs.readFileSync(fs.embarkPath('js/embarkjs/orbit.js')).toString();
|
||||
|
|
Loading…
Reference in New Issue