cmd doc: skip cue.mod

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-06-25 16:21:42 +02:00
parent 898b0816be
commit ecb53566e6

View File

@ -333,7 +333,7 @@ func walkStdlib(ctx context.Context, output, format string) {
if err != nil {
return err
}
if p == "." || !d.IsDir() {
if p == "." || !d.IsDir() || d.Name() == "cue.mod" {
return nil
}