Skip to content

Commit

Permalink
Merge pull request #5709 from rustfix/main
Browse files Browse the repository at this point in the history
chore: fix function names in comment
  • Loading branch information
bk2204 committed Apr 16, 2024
2 parents 19a702e + 0a9f284 commit 2502e92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/command_lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func computeLockData() (*lockData, error) {
}, nil
}

// lockPaths relativizes the given filepath such that it is relative to the root
// lockPath relativizes the given filepath such that it is relative to the root
// path of the repository it is contained within, taking into account the
// working directory of the caller.
//
Expand Down
4 changes: 2 additions & 2 deletions commands/command_uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)

// uninstallCmd removes any configuration and hooks set by Git LFS.
// uninstallCommand removes any configuration and hooks set by Git LFS.
func uninstallCommand(cmd *cobra.Command, args []string) {
if err := cmdInstallOptions().Uninstall(); err != nil {
Print(tr.Tr.Get("warning: %s", err.Error()))
Expand All @@ -23,7 +23,7 @@ func uninstallCommand(cmd *cobra.Command, args []string) {
}
}

// uninstallHooksCmd removes any hooks created by Git LFS.
// uninstallHooksCommand removes any hooks created by Git LFS.
func uninstallHooksCommand(cmd *cobra.Command, args []string) {
if err := uninstallHooks(); err != nil {
Error(err.Error())
Expand Down

0 comments on commit 2502e92

Please sign in to comment.