move constant tys

This commit is contained in:
nora 2023-12-16 12:44:30 +01:00
parent d18ab34e9f
commit b4fb837efe
10 changed files with 71 additions and 75 deletions

View file

@ -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;
}