Skip to content

Commit

Permalink
minor style update
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Sep 10, 2024
1 parent 761945e commit 2273eee
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/dot-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/heta-code-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/json-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
4 changes: 2 additions & 2 deletions src/julia-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand All @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/mrgsolve-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/sbml-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
2 changes: 1 addition & 1 deletion src/simbio-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/slv-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
2 changes: 1 addition & 1 deletion src/summary-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
Expand Down
2 changes: 1 addition & 1 deletion src/yaml-export/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down

0 comments on commit 2273eee

Please sign in to comment.