Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
BugFix: Invalid json file
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Bauer committed Sep 7, 2020
1 parent 9188f2e commit c5ee52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/scc $@ -f json -o scc-result.json

# Trim json file to only contain relevant data
cat scc-result.json | /jq '.[] | { name: .Name, lines: .Lines, code: .Code, comment: .Comment, blank: .Blank, files: .Count }' > healthcheck-loc.json
cat scc-result.json | /jq 'map({ name: .Name, lines: .Lines, code: .Code, comment: .Comment, blank: .Blank, files: .Count })' > healthcheck-loc.json
chmod 777 healthcheck-loc.json

# Output result to console
Expand Down

0 comments on commit c5ee52a

Please sign in to comment.