Skip to content

Commit 7c461fc

Browse files
authored
Lint fixes for import (#1287)
* Delete debugging log statement from test * Fix function comment format
1 parent 09e3119 commit 7c461fc

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

cel/fieldpaths_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ func TestFieldPathsForTestAllTypes(t *testing.T) {
1818
p := env.CELTypeProvider()
1919

2020
paths := fieldPathsForType(p, "t", ObjectType("cel.expr.conformance.proto3.NestedTestAllTypes"))
21-
pathStrings := make([]string, 0, len(paths))
22-
for i, path := range paths {
23-
t.Logf("path %d: %v", i, path.path)
24-
pathStrings = append(pathStrings, path.path)
25-
}
2621

2722
tcs := []struct {
2823
path string

cel/prompt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func AuthoringPrompt(env *Env) (*Prompt, error) {
8080
}, nil
8181
}
8282

83-
// AuthoringPrompt creates a prompt template from a CEL environment for the purpose of AI-assisted authoring.
83+
// AuthoringPromptWithFieldPaths creates a prompt template from a CEL environment for the purpose of AI-assisted authoring.
8484
// Includes documentation for all of the reachable field paths in the environment.
8585
func AuthoringPromptWithFieldPaths(env *Env) (*Prompt, error) {
8686
p, err := AuthoringPrompt(env)

0 commit comments

Comments
 (0)