Skip to content

Commit ce33f11

Browse files
committed
fixup! fix logging
1 parent f992994 commit ce33f11

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

packages/cloudflare/src/cli/commands/migrate.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,9 @@ async function migrateCommand(args: { forceInstall: boolean }): Promise<void> {
136136
} catch (error) {
137137
logger.error("Failed to update package.json", (error as Error).message);
138138
logger.warn(
139-
"\nPlease ensure that your package.json contains the following scripts:\n" +
140-
logger.warn(
141-
[...Object.entries(openNextScripts)].map(([key, value]) => ` - ${key}: ${value}`).join("\n")
142-
) +
143-
"\n"
139+
`Please ensure that your package.json contains the following scripts:
140+
${[...Object.entries(openNextScripts)].map(([k, v]) => ` - ${k}: ${v}`).join("\n")}
141+
`
144142
);
145143
}
146144

0 commit comments

Comments
 (0)