Skip to content

Commit

Permalink
npm run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Apr 17, 2024
1 parent 493afbf commit 6ac5903
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/engine/paima-runtime/src/cde-config/loading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ function checkOrError<T extends TSchema>(
// 2nd error: struct Foo is invalid inside struct Config
// in this case, the 2nd error is useless as we only care about the 1st error
// However, we always want to show the error if for some reason it's the only error
if (!allErrorsLowPriority && lowPriorityErrors.has(error.type))
continue;
if (!allErrorsLowPriority && lowPriorityErrors.has(error.type)) continue;
console.error({
name: name ?? 'Configuration root',
path: error.path,
Expand Down Expand Up @@ -380,7 +379,9 @@ async function instantiateCdeGeneric(
eventSignatureHash,
};
} catch (err) {
doLog(`[cde-config] Failed to initialize Web3 contract ${config.name} with ABI ${config.abiPath}`);
doLog(
`[cde-config] Failed to initialize Web3 contract ${config.name} with ABI ${config.abiPath}`
);
throw err;
}
}

0 comments on commit 6ac5903

Please sign in to comment.