We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14022c commit b7fc37eCopy full SHA for b7fc37e
internal/simctl/robot_specs.go
@@ -49,8 +49,7 @@ func (r *RobotSpecSetter) LoadRobotSpecs(configFile string) {
49
data, err := ioutil.ReadFile(configFile)
50
if err != nil {
51
log.Println("Could not read robot spec file: ", err)
52
- }
53
- if err := yaml.Unmarshal(data, &r.teamRobotSpecs); err != nil {
+ } else if err := yaml.Unmarshal(data, &r.teamRobotSpecs); err != nil {
54
log.Println("Could not unmarshal robot spec file: ", err)
55
}
56
r.appliedTeams = map[referee.Team]string{}
0 commit comments