cli: improve log message

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-11-24 15:19:34 +01:00
parent c6f3743172
commit 0555cc9d00
@@ -52,9 +52,7 @@ export async function startBackendPlugin(options: StartBackendOptions) {
const hasEntry = await fs.pathExists(paths.resolveTarget('dev'));
if (!hasEntry) {
console.warn(
`dev directory doesn't exist. \
It looks like this plugin hasn't been migrated to the new backend system. \
Please run "LEGACY_BACKEND_START=1 yarn start" instead.`,
`The 'dev' directory is missing. This plugin might not be updated for the new backend system. To run, use "LEGACY_BACKEND_START=1 yarn start".`,
);
return;
}