You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run todos on (for example) cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go in the Kubernetes codebase it should find a TODO on line 225 but it fails to find it.
It seems that the CommentScanner is not finding all comments in the file.
To Reproduce
Run todos cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go in a Kubernetes git checkout.
Expected behavior
todos should print the TODO in its output.
The text was updated successfully, but these errors were encountered:
Fixes an issue where the `TODOScanner.Scan` would return `false` if it
encounters a multi-line comment with no TODOs present in it.
Fixes#1520
Signed-off-by: Ian Lewis <[email protected]>
Describe the bug
If I run
todos
on (for example)cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go
in the Kubernetes codebase it should find a TODO on line 225 but it fails to find it.It seems that the
CommentScanner
is not finding all comments in the file.To Reproduce
Run
todos cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go
in a Kubernetes git checkout.Expected behavior
todos
should print the TODO in its output.The text was updated successfully, but these errors were encountered: