Skip to content

Commit 2c87c82

Browse files
Fix duplicated-word typos in comments (cli#13900)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent c28f55d commit 2c87c82

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/featuredetection/feature_detection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func (d *detector) SearchFeatures() (SearchFeatures, error) {
391391
//
392392
// Since there's no schema-wise difference between pre-deprecation and
393393
// deprecation periods (i.e. `ISSUE_ADVANCED` is available during both),
394-
// we cannot figure out the exact time period. The consensus is to to use
394+
// we cannot figure out the exact time period. The consensus is to use
395395
// the advanced search syntax during both periods.
396396

397397
var feature SearchFeatures

pkg/cmd/api/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ func Test_apiRun_cache(t *testing.T) {
13601360
AuthenticationFunc: func() gh.AuthConfig {
13611361
cfg := &config.AuthConfig{}
13621362
// Required because the http client tries to get the active token and otherwise
1363-
// this goes down to to go-gh config and panics. Pretty bad solution, it would
1363+
// this goes down to go-gh config and panics. Pretty bad solution, it would
13641364
// be better if this were black box.
13651365
cfg.SetActiveToken("token", "stub")
13661366
return cfg

pkg/cmd/workflow/run/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func runRun(opts *RunOptions) error {
328328

329329
// TODO workflowDispatchRunDetailsCleanup
330330
// We will have to always set the `return_run_details` field to true, unless
331-
// we opt into the the new REST API version, which will probably return the
331+
// we opt into the new REST API version, which will probably return the
332332
// details by default.
333333
if features.DispatchRunDetails {
334334
requestBody["return_run_details"] = true

0 commit comments

Comments
 (0)