cmd/root.go
Function findTopDir
has 8 return statements (exceeds 4 allowed). Open
Open
func findTopDir(cwd string) (string, error) {
var err error
var fs os.FileInfo
var c bool
var prevPath string // prevPath contains the previous path to prevent an infinite loop
package comment should be of the form "Package cmd ..." Open
Open
/*
- Exclude checks
exported function Execute should have comment or be unexported Open
Open
func Execute() {
- Exclude checks