From 9ca949f7fe1306e548d95147ecdf3b4f0e37e1b9 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Fri, 10 Jan 2025 13:09:09 +0100 Subject: [PATCH] Added code comments --- src/utils/misc.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/misc.ts b/src/utils/misc.ts index 591c17f..1f95725 100644 --- a/src/utils/misc.ts +++ b/src/utils/misc.ts @@ -360,8 +360,10 @@ export const getSyntaxPackage = (): Promise => { const roninSyntaxPath = resolveFrom.silent(process.cwd(), '@ronin/syntax/queries'); if (!roninSyntaxPath) { + // The newline is needed because a spinner is running before this message is printed. + // TODO: Make the spinner accessible in `Protocol`. console.error( - 'The "ronin" package must be installed in your project in order to create migrations.', + '\nThe "ronin" package must be installed in your project in order to create migrations.', ); process.exit(1); }