Fix typos
This commit is contained in:
parent
72eeae9d1d
commit
6f550b5d12
5 changed files with 5 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ The argument help is required in this command.
|
|||
|
||||
## Placeholder values
|
||||
|
||||
Use angled brackets to represent a value the user must replace. No other expressions can be contained within the angeled brackets.
|
||||
Use angled brackets to represent a value the user must replace. No other expressions can be contained within the angled brackets.
|
||||
|
||||
_example:_
|
||||
`gh pr view <issue-number>`
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/cli/cli/internal/run"
|
||||
)
|
||||
|
||||
// ErrNotOnAnyBranch indicates that the users is in detached HEAD state
|
||||
// ErrNotOnAnyBranch indicates that the user is in detached HEAD state
|
||||
var ErrNotOnAnyBranch = errors.New("git: not on any branch")
|
||||
|
||||
// Ref represents a git commit reference
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/google/shlex"
|
||||
)
|
||||
|
||||
// BrowserEnv simply returns the $BROWSER envionment variable
|
||||
// BrowserEnv simply returns the $BROWSER environment variable
|
||||
func FromEnv() string {
|
||||
return os.Getenv("BROWSER")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ func createRun(opts *CreateOptions) error {
|
|||
// There are two cases when an existing remote for the head repo will be
|
||||
// missing:
|
||||
// 1. the head repo was just created by auto-forking;
|
||||
// 2. an existing fork was discovered by quering the API.
|
||||
// 2. an existing fork was discovered by querying the API.
|
||||
//
|
||||
// In either case, we want to add the head repo as a new git remote so we
|
||||
// can push to it.
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ func Humanize(s string) string {
|
|||
return strings.Map(h, s)
|
||||
}
|
||||
|
||||
// We do this so we can stub out the spinner in tests -- it made things really flakey. this is not
|
||||
// We do this so we can stub out the spinner in tests -- it made things really flakey. This is not
|
||||
// an elegant solution.
|
||||
var StartSpinner = func(s *spinner.Spinner) {
|
||||
s.Start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue