style: apply prettier formatting
This commit is contained in:
parent
1db28c251c
commit
51ef46c11b
|
|
@ -532,9 +532,7 @@ class ExternalModuleManager {
|
||||||
const resolution = ExternalModuleManager._resolutions.get(moduleCode);
|
const resolution = ExternalModuleManager._resolutions.get(moduleCode);
|
||||||
const versionHint = resolution?.version ? `version ${resolution.version}` : 'the cloned version';
|
const versionHint = resolution?.version ? `version ${resolution.version}` : 'the cloned version';
|
||||||
const channelHint =
|
const channelHint =
|
||||||
resolution?.channel === 'stable'
|
resolution?.channel === 'stable' ? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.` : '';
|
||||||
? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.`
|
|
||||||
: '';
|
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Module '${moduleCode}' was downloaded but its module definition was not found. ` +
|
`Module '${moduleCode}' was downloaded but its module definition was not found. ` +
|
||||||
`Expected '${moduleDefinitionPath}' to exist in ${versionHint}, but it is missing. ` +
|
`Expected '${moduleDefinitionPath}' to exist in ${versionHint}, but it is missing. ` +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue