Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarroll committed Dec 23, 2016
1 parent 82cd30b commit 9daec56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ func persistBundles(bundles AuraDefinitionBundleResult, definitions AuraDefiniti
}

func runFetch(cmd *Command, args []string) {

force, _ := ActiveForce()

if len(packageXml) == 0 && len(metadataTypes) == 0 {
ErrorAndExit("must specify object type and/or object name or package xml path")
}
Expand Down
6 changes: 3 additions & 3 deletions metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,15 +1160,15 @@ func (fm *ForceMetadata) RetrieveByPackageXml(package_xml string) (files ForceMe
`

type types struct {
Name string `xml:"name"`
Name string `xml:"name"`
Members []string `xml:"members"`
}

var pxml struct {
Results []types `xml:"types"`
}
xml.Unmarshal(data, &pxml)

xml.Unmarshal(data, &pxml)

xml_types := ""
for _, p_xml := range pxml.Results {
Expand Down

0 comments on commit 9daec56

Please sign in to comment.