Skip to content

Commit

Permalink
fix: extra json
Browse files Browse the repository at this point in the history
  • Loading branch information
dpastoor committed Sep 13, 2019
1 parent bac487b commit 493a942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func probs(cmd *cobra.Command, args []string) error {
return err
}
modelSummaries := modSummaries(AppFs, modelFiles, dir)
if tree {
if Json {
jsonRes, _ := json.MarshalIndent(modelSummaries, "", "\t")
fmt.Printf("%s\n", jsonRes)
} else {
Expand Down

0 comments on commit 493a942

Please sign in to comment.