Skip to content

Commit

Permalink
Add space between external and internal impl
Browse files Browse the repository at this point in the history
  • Loading branch information
ericglau committed Nov 28, 2023
1 parent a75b224 commit 5d1b988
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core-cairo/src/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ function printImpls(contract: Contract) {
const externalImpls = contract.components.flatMap(c => c.impls);
const internalImpls = contract.components.flatMap(c => c.internalImpl ? [c.internalImpl] : []);

return [
...externalImpls.flatMap(impl => printImpl(impl)),
...internalImpls.flatMap(impl => printImpl(impl, true))
];
return spaceBetween(
externalImpls.flatMap(impl => printImpl(impl)),
internalImpls.flatMap(impl => printImpl(impl, true))
);
}


Expand Down

0 comments on commit 5d1b988

Please sign in to comment.