Compare commits

..

2 Commits

Author SHA1 Message Date
Brian 51ef46c11b style: apply prettier formatting 2026-05-12 23:40:47 -05:00
Brian 1db28c251c style: fix prettier formatting in external-manager.js 2026-05-12 22:17:53 -05:00
1 changed files with 1 additions and 3 deletions

View File

@ -532,9 +532,7 @@ class ExternalModuleManager {
const resolution = ExternalModuleManager._resolutions.get(moduleCode);
const versionHint = resolution?.version ? `version ${resolution.version}` : 'the cloned version';
const channelHint =
resolution?.channel === 'stable'
? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.`
: '';
resolution?.channel === 'stable' ? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.` : '';
throw new Error(
`Module '${moduleCode}' was downloaded but its module definition was not found. ` +
`Expected '${moduleDefinitionPath}' to exist in ${versionHint}, but it is missing. ` +