Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 0534860

Browse files
committed
fixed cmd
1 parent 0560d3c commit 0534860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gqldoc/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func convertSchemaTree(schemaFiles []string) (*introspection.Root, error) {
130130
return nil, errors.WithStack(err)
131131
}
132132
for _, maybeSchema := range matches {
133-
switch filepath.Ext(schema) {
133+
switch filepath.Ext(maybeSchema) {
134134
case ".graphqls", ".graphql", ".gql":
135135
gqlfiles = append(gqlfiles, maybeSchema)
136136
default:

0 commit comments

Comments
 (0)