Skip to content

Commit 4687cc0

Browse files
committed
fix typos
1 parent 29c5bf2 commit 4687cc0

File tree

1 file changed

+2
-2
lines changed
  • crates/vite_task/src/cli

1 file changed

+2
-2
lines changed

crates/vite_task/src/cli/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ pub struct TaskCLIArgs<CustomSubcommand: Subcommand> {
1616
impl<CustomSubcommand: Subcommand> TaskCLIArgs<CustomSubcommand> {
1717
/// Inspect the custom subcommand (like lint/install). Returns `None` if it's built-in subcommand
1818
/// The caller should not use this method to actually handle the custom subcommand. Instead, it should
19-
/// private TaskSynthesizer to Session so that vite-task can handle custom subcommands consistenly from
19+
/// private TaskSynthesizer to Session so that vite-task can handle custom subcommands consistently from
2020
/// both direct CLI invocations and invocations in task scripts.
2121
///
2222
/// This method is provided only to make it possible for the caller to behave differently BEFORE and AFTER the session.
23-
/// For example, vite+ needs this method to skip auto-install when the custom subcommand is alreay `install`.
23+
/// For example, vite+ needs this method to skip auto-install when the custom subcommand is already `install`.
2424
pub fn custom_subcommand(&self) -> Option<&CustomSubcommand> {
2525
match &self.parsed {
2626
ParsedTaskCLIArgs::BuiltIn(_) => None,

0 commit comments

Comments
 (0)