diff --git a/packages/boot/app-boot/src/profile-resolution/legacy-links.ts b/packages/boot/app-boot/src/profile-resolution/legacy-links.ts index 075f1a9d1c..6c67762b77 100644 --- a/packages/boot/app-boot/src/profile-resolution/legacy-links.ts +++ b/packages/boot/app-boot/src/profile-resolution/legacy-links.ts @@ -6,7 +6,7 @@ import { realpathSync } from 'node:fs' * Return whether the process reads application modules from pkg's virtual filesystem. * @returns whether pkg owns the module filesystem. */ -export function isPackagedExecutable(): boolean { +function isPackagedExecutable(): boolean { return (process as NodeJS.Process & { pkg?: unknown }).pkg !== undefined } diff --git a/packages/boot/app-boot/src/profile.ts b/packages/boot/app-boot/src/profile.ts index 5d4ba04b19..abea03462b 100644 --- a/packages/boot/app-boot/src/profile.ts +++ b/packages/boot/app-boot/src/profile.ts @@ -204,7 +204,7 @@ function profileDependencyNames(manifest: ProfileManifest): string[] { return [...Object.keys(manifest.dependencies ?? {}), ...Object.keys(manifest.peerDependencies ?? {})] } -/** Resolve the installation generation that every profile must find through the fallback directory. */ +/** Resolve the installation packages that the runtime resolver supplies to every profile. */ function resolveModuleFallbackEntries( installAnchor: string, skippedBundles: ReadonlySet, ): {