Skip to content

Commit

Permalink
prettier spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
era-zx committed Nov 14, 2024
1 parent 0c5b307 commit 8803f7f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ export default class TypeTransformation extends BaseDomainClass {
let results: Node[] | Edge[] = [];
// if no root array, act normally
if (!this.root_array) {

let valid = false;

// no conditions immediately equals true
Expand All @@ -430,6 +431,7 @@ export default class TypeTransformation extends BaseDomainClass {

// we don't error out on a non-matching condition, simply pass the transformation by
if (!valid) return new Promise((resolve) => resolve(Result.Success([])));

const results = await this.generateResults(data);

if (results.isError) {
Expand Down

0 comments on commit 8803f7f

Please sign in to comment.