Commit 6516e747 authored by Cristian Maglie's avatar Cristian Maglie

Fixed lint warning

parent bc549cdd
......@@ -152,10 +152,10 @@ func (inPlatformRelease indexPlatformRelease) extractPlatformIn(outPackage *core
CachePath: "packages",
}
outPlatformRelease.BoardsManifest = inPlatformRelease.extractBoardsManifest()
if deps, err := inPlatformRelease.extractDeps(); err != nil {
return fmt.Errorf("invalid tool dependencies: %s", err)
} else {
if deps, err := inPlatformRelease.extractDeps(); err == nil {
outPlatformRelease.Dependencies = deps
} else {
return fmt.Errorf("invalid tool dependencies: %s", err)
}
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment