Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copycode with Path: null #31

Closed
Dexus opened this issue Jul 24, 2017 · 4 comments
Closed

copycode with Path: null #31

Dexus opened this issue Jul 24, 2017 · 4 comments
Labels

Comments

@Dexus
Copy link

Dexus commented Jul 24, 2017

The generated reports do not have the path filled.
(Windows)

var resData = {
    score:  77 ,
    avgcover: "84.9",
    date:"2017-07-24 12:22:26",
    codelines:  17919 ,
    gosimple_issue:  0 ,
    deadcode_count:  0 ,
    cycol_count:  0 ,
    project: "",
    gotest:{
        res: "[]",
        summary: "84.9",
        noTest: "[]"
    },
    gosimple: "[]",
    gospell:"[]",
    gosimpleLevel: 2,
    deadcode: "[]",
    copycode: "[{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"3\",\"Path\":null},{\"Files\":\"3\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"3\",\"Path\":null},{\"Files\":\"7\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"2\",\"Path\":null},{\"Files\":\"4\",\"Path\":null},{\"Files\":\"3\",\"Path\":null},{\"Files\":\"6\",\"Path\":null}]",
    gocyclo :"[{\"Pkg\":\"\",\"Size\":60,\"Info\":null}]"
}

HTML do so not render... and shows only "Please wait..." is it only works on linux?

@xuri
Copy link
Member

xuri commented Jul 25, 2017

Thanks for your issue, I have fixed it.

@wgliang
Copy link
Collaborator

wgliang commented Jul 25, 2017

Good @xuri

@Dexus
Copy link
Author

Dexus commented Jul 25, 2017

Would that the real fix? I think it should output the path or not?

@wgliang
Copy link
Collaborator

wgliang commented Jul 26, 2017

I am very sorry, the test under the windows is not perfect before, I have fixed this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants