Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8dc1a96

Browse files
Merge pull request cli#10296 from petercover/trunk
chore: fix some comments
2 parents c3342cc + bad7098 commit 8dc1a96

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Download packaged binaries from the [releases page][].
129129

130130
Since version 2.50.0 `gh` has been producing [Build Provenance Attestation](https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/) enabling a cryptographically verifiable paper-trail back to the origin GitHub repository, git revision and build instructions used. The build provenance attestations are signed and relies on Public Good [Sigstore](https://www.sigstore.dev/) for PKI.
131131

132-
There are two common ways to verify a downloaded release, depending if `gh` is aready installed or not. If `gh` is installed, it's trivial to verify a new release:
132+
There are two common ways to verify a downloaded release, depending if `gh` is already installed or not. If `gh` is installed, it's trivial to verify a new release:
133133

134134
- **Option 1: Using `gh` if already installed:**
135135

pkg/cmd/codespace/ssh_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func TestGenerateAutomaticSSHKeys(t *testing.T) {
124124
}
125125

126126
func TestSelectSSHKeys(t *testing.T) {
127-
// This string will be subsituted in sshArgs for test cases
127+
// This string will be substituted in sshArgs for test cases
128128
// This is to work around the temp test ssh dir not being known until the test is executing
129129
substituteSSHDir := "SUB_SSH_DIR"
130130

pkg/cmd/factory/default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func BaseRepoFunc(f *cmdutil.Factory) func() (ghrepo.Interface, error) {
117117
// even more confusion because the API requests can be different, and FURTHERMORE this can be an issue for
118118
// services that don't handle renames correctly, like the ElasticSearch indexing.
119119
//
120-
// Assuming we have an interactive invocation, then the next step is to resolve a network of respositories. This
120+
// Assuming we have an interactive invocation, then the next step is to resolve a network of repositories. This
121121
// involves creating a dynamic GQL query requesting information about each repository (up to a limit of 5).
122122
// Each returned repo is added to a list, along with its parent, if present in the query response.
123123
// The repositories in the query retain the same ordering as previously outlined. Interestingly, the request is sent

pkg/cmd/run/shared/shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ var ErrMissingAnnotationsPermissions = errors.New("missing annotations permissio
275275

276276
// GetAnnotations fetches annotations from the REST API.
277277
//
278-
// If the job has no annotations, an empy slice is returned.
278+
// If the job has no annotations, an empty slice is returned.
279279
// If the API returns a 403, a custom ErrMissingAnnotationsPermissions error is returned.
280280
//
281281
// When fine-grained PATs support checks:read permission, we can remove the need for this at the call sites.

pkg/iostreams/iostreams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ func (w *fdWriteCloser) Fd() uintptr {
524524
return w.fd
525525
}
526526

527-
// fdWriter represents a wrapped stdin ReadCloser that preserves the original file descriptor
527+
// fdReader represents a wrapped stdin ReadCloser that preserves the original file descriptor
528528
type fdReader struct {
529529
io.ReadCloser
530530
fd uintptr

0 commit comments

Comments
 (0)