mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
move constant tys
This commit is contained in:
parent
d18ab34e9f
commit
b4fb837efe
10 changed files with 71 additions and 75 deletions
|
|
@ -91,9 +91,7 @@ export const loadPkg: PkgLoader = (
|
|||
span: Span,
|
||||
): DepPkg => {
|
||||
// If we've loaded the pkg already, great.
|
||||
const existing = gcx.finalizedPkgs.find(
|
||||
(pkg) => pkg.packageName === name,
|
||||
);
|
||||
const existing = gcx.finalizedPkgs.find((pkg) => pkg.packageName === name);
|
||||
if (existing) {
|
||||
return existing;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue