cli-reporter: Fix tag, add spacer before "canceled by user" message"
MODIFY
packages/@romejs/cli-reporter/Reporter.ts
packages/@romejs/cli-reporter/Reporter.ts
@@ -665,12 +665,14 @@ export default class Reporter {
case 'c':
if (key.ctrl) {
+ this.spacer();
this.warn('Cancelled by user');
process.exit(1);
}
return;
case 'escape':
+ this.spacer();
this.warn('Cancelled by user');
process.exit(1);
return;

MODIFY
packages/@romejs/core/client/commands.ts
packages/@romejs/core/client/commands.ts
@@ -40,7 +40,7 @@ localCommands.set('init', {
const configPath = req.client.flags.cwd.append('rome.json');
if (await exists(configPath)) {
reporter.error(
- `<filelink target="${configPath.join()}" emphasis>rome.json</emphasis> file already exists`,
+ `<filelink target="${configPath.join()}" emphasis>rome.json</filelink> file already exists`,
);
reporter.info(
'Use <command>rome config</command> to update an existing config',

cli-reporter: Fix tag, add spacer before "canceled by user" message"