Skip to content

sf plugin - error on JSON file output #710

@DougGrimwade

Description

@DougGrimwade

Describe the bug
Output to JSON file fails

To Reproduce

sf check apex-classes --json-file /tmp/results.json 
Error (10): Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'relatedClassRefs' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'Object'
    |     property 'relatedTestClassRefs' -> object with constructor 'Array'
    --- index 0 closes the circle

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions