Minimal working example to demonstrate a bug in listMetadata where queries for StandardValueSet return no results
Create a scratch org
sf org create scratch -f config/project-scratch-def.json --set-default
list StandardValueSets using listMetadata
sf org list metadata --metadata-type StandardValueSet
- actual
+ expected
- undefined
+ [
+ {
+ createdById: '',
+ createdByName: '',
+ createdDate: '',
+ fileName: 'standardValueSets/LeadSource.standardValueSet',
+ fullName: 'LeadSource',
+ id: '',
+ lastModifiedById: '',
+ lastModifiedByName: '',
+ lastModifiedDate: '',
+ type: 'StandardValueSet'
+ },
+ ...
+ ]