From 5461898851eaa3613e17f59608a1bd34ecf08810 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Fri, 3 Mar 2023 16:35:40 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> --- packages/astro/src/cli/check/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/cli/check/index.ts b/packages/astro/src/cli/check/index.ts index 3975fa651742b..1c918a4a3e94f 100644 --- a/packages/astro/src/cli/check/index.ts +++ b/packages/astro/src/cli/check/index.ts @@ -66,7 +66,7 @@ const ASTRO_GLOB_PATTERN = '**/*.astro'; /** * Checks `.astro` files for possible errors. * - * If the `--check` flag is provided, the command runs indefinitely and provides diagnostics + * If the `--watch` flag is provided, the command runs indefinitely and provides diagnostics * when `.astro` files are modified. * * Every time an astro files is modified, content collections are also generated. @@ -183,7 +183,7 @@ export class AstroChecker { } /** - * Weather the checker should run in watch mode + * Whether the checker should run in watch mode * @returns {boolean} */ public get isWatchMode(): boolean { @@ -337,7 +337,7 @@ export class AstroChecker { } /** - * Open all Astro files in the given directory and return the number of files found.* + * Open all Astro files in the given directory and return the number of files found. * @param {URL} workspaceUri * @param {string[]} filePathsToIgnore * @param {AstroCheck} checker