Skip to content

Commit 70167d3

Browse files
fix(cli): Minor typos in CLI (#1224)
1 parent bc615eb commit 70167d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-email/src/cli/commands/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export const build = async ({
205205
const builtPreviewAppPath = path.join(process.cwd(), '.react-email');
206206

207207
if (fs.existsSync(builtPreviewAppPath)) {
208-
spinner.text = 'Deleting pre-existent `.react-email` folder';
208+
spinner.text = 'Deleting pre-existing `.react-email` folder';
209209
await fs.promises.rm(builtPreviewAppPath, { recursive: true });
210210
}
211211

@@ -248,7 +248,7 @@ export const build = async ({
248248
await npmInstall(builtPreviewAppPath, packageManager);
249249

250250
spinner.stopAndPersist({
251-
text: 'Successfully preapred `.react-email` for `next build`',
251+
text: 'Successfully prepared `.react-email` for `next build`',
252252
symbol: logSymbols.success,
253253
});
254254

packages/react-email/src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ program
2222

2323
program
2424
.command('build')
25-
.description('Copies the preivew app for onto .react-email and builds it')
25+
.description('Copies the preview app for onto .react-email and builds it')
2626
.option('-d, --dir <path>', 'Directory with your email templates', './emails')
2727
.option(
2828
'-p --packageManager <name>',

0 commit comments

Comments
 (0)