File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ pub struct TaskCLIArgs<CustomSubcommand: Subcommand> {
1616impl < 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 ,
You can’t perform that action at this time.
0 commit comments