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

Cannot output sorted json #179

Closed
sh0n0 opened this issue Jun 30, 2020 · 2 comments · Fixed by #180
Closed

Cannot output sorted json #179

sh0n0 opened this issue Jun 30, 2020 · 2 comments · Fixed by #180
Labels
bug Something isn't working
Projects

Comments

@sh0n0
Copy link
Contributor

sh0n0 commented Jun 30, 2020

Describe the bug

Output json cannot be sorted by a specified key.

(key: [files, name, lines, blanks, code, comments, complexity] (default "files"))

To Reproduce

In any directory,

$ scc -f json -s lines .

Expected behavior

Output json should be sorted by a specified key.

@boyter
Copy link
Owner

boyter commented Jun 30, 2020

Thanks for both the bug report AND the PR. Merged in. Will make it into the next release for you.

@boyter boyter added the bug Something isn't working label Jun 30, 2020
@sh0n0
Copy link
Contributor Author

sh0n0 commented Jun 30, 2020

Thanks for merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants