diff --git a/src/dot-export/index.js b/src/dot-export/index.js index d1305227..4d23e5da 100644 --- a/src/dot-export/index.js +++ b/src/dot-export/index.js @@ -14,7 +14,7 @@ class DotExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = DotExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } diff --git a/src/heta-code-export/index.js b/src/heta-code-export/index.js index a07ed6f3..1de31904 100644 --- a/src/heta-code-export/index.js +++ b/src/heta-code-export/index.js @@ -13,7 +13,7 @@ class HetaCodeExport extends AbstractExport{ super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = HetaCodeExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } diff --git a/src/json-export/index.js b/src/json-export/index.js index 0fb88545..5c1cdbf3 100644 --- a/src/json-export/index.js +++ b/src/json-export/index.js @@ -15,7 +15,7 @@ class JSONExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = JSONExport.isValid(q, logger); if (!valid) { this.errored = true; return; } diff --git a/src/julia-export/index.js b/src/julia-export/index.js index d6b06f36..1633cfe2 100644 --- a/src/julia-export/index.js +++ b/src/julia-export/index.js @@ -15,7 +15,7 @@ class JuliaExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = JuliaExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } @@ -37,7 +37,7 @@ class JuliaExport extends AbstractExport { // skipVersionCode means that the version will not be printed in output // this is required for autotests makeText(skipVersionCode = false) { - //let logger = this._builder.logger; + //let { logger } = this._builder; // create image for multiple namespaces let nsImages = this.selectedNamespaces() .map(([spaceName, ns]) => ns.getJuliaImage()); diff --git a/src/mrgsolve-export/index.js b/src/mrgsolve-export/index.js index cc3349f1..3c0ef421 100644 --- a/src/mrgsolve-export/index.js +++ b/src/mrgsolve-export/index.js @@ -14,7 +14,7 @@ class MrgsolveExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = MrgsolveExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } diff --git a/src/sbml-export/index.js b/src/sbml-export/index.js index 513b99bb..521d655b 100644 --- a/src/sbml-export/index.js +++ b/src/sbml-export/index.js @@ -15,7 +15,7 @@ class SBMLExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = SBMLExport.isValid(q, logger); if (!valid) { this.errored = true; return; } diff --git a/src/simbio-export/index.js b/src/simbio-export/index.js index 83fc1104..993b7481 100644 --- a/src/simbio-export/index.js +++ b/src/simbio-export/index.js @@ -14,7 +14,7 @@ class SimbioExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = SimbioExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } diff --git a/src/slv-export/index.js b/src/slv-export/index.js index 7019f44f..273af56e 100644 --- a/src/slv-export/index.js +++ b/src/slv-export/index.js @@ -18,7 +18,7 @@ class SLVExport extends AbstractExport{ super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = SLVExport.isValid(q, logger); if (!valid) { this.errored = true; return; } diff --git a/src/summary-export/index.js b/src/summary-export/index.js index e2821862..5074f48d 100644 --- a/src/summary-export/index.js +++ b/src/summary-export/index.js @@ -14,7 +14,7 @@ class SummaryExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = SummaryExport.isValid(q, logger); if (!valid) { this.errored = true; return; } } diff --git a/src/yaml-export/index.js b/src/yaml-export/index.js index 3bbdcc3e..87004644 100644 --- a/src/yaml-export/index.js +++ b/src/yaml-export/index.js @@ -16,7 +16,7 @@ class YAMLExport extends AbstractExport { super(q, isCore); // check arguments here - let logger = this._builder.logger; + let { logger } = this._builder; let valid = YAMLExport.isValid(q, logger); if (!valid) { this.errored = true; return; }