Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/pipeline-controller/config_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"gopkg.in/yaml.v2"
)

// RepoItem represents a repository configuration that can be either a string or an object
// RepoItem r epresents a repository configuration that can be either a string or an object
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix typographical error in comment.

The comment contains a typo: "r epresents" should be "represents".

-// RepoItem r  epresents a repository configuration that can be either a string or an object
+// RepoItem represents a repository configuration that can be either a string or an object
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// RepoItem r epresents a repository configuration that can be either a string or an object
// RepoItem represents a repository configuration that can be either a string or an object
🤖 Prompt for AI Agents
In cmd/pipeline-controller/config_watcher.go around line 12, the comment has a
typographical error: "r  epresents" should be corrected to "represents"; update
the comment text to remove the extra space and fix the spelling so it reads
"RepoItem represents a repository configuration that can be either a string or
an object."

type RepoItem struct {
Name string
Mode struct {
Expand Down