Skip to content

Commit

Permalink
fix minor lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Rancourt <[email protected]>
  • Loading branch information
krancour committed Aug 30, 2024
1 parent 3ffeaa8 commit 7a314f8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion internal/directives/copy_directive.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
)

func init() {
func init() {
// Register the copy directive with the builtins registry.
builtins.RegisterDirective(&copyDirective{})
}
Expand Down
1 change: 0 additions & 1 deletion internal/directives/directive.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,3 @@ func configToStruct[T any](c Config) (T, error) {

return result, nil
}

1 change: 0 additions & 1 deletion internal/directives/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ func BuiltinsRegistry() DirectiveRegistry {
// register and retrieve directives by name.
type DirectiveRegistry map[string]Directive


// RegisterDirective registers a Directive with the given name. If a Directive
// with the same name has already been registered, it will be overwritten.
func (r DirectiveRegistry) RegisterDirective(directive Directive) {
Expand Down

0 comments on commit 7a314f8

Please sign in to comment.