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