File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1818package root
1919
2020import (
21- "fmt"
2221 "io/ioutil"
2322 "os"
2423 "path/filepath"
@@ -134,8 +133,6 @@ func initConfigs() {
134133
135134 commands .Config .Navigate ("/" , pwd )
136135
137- fmt .Println (yamlConfigFile )
138-
139136 if yamlConfigFile != "" {
140137 commands .Config .ConfigFile = paths .New (yamlConfigFile )
141138 if err := commands .Config .LoadFromYAML (commands .Config .ConfigFile ); err != nil {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
1010func (c * Configuration ) Navigate (root , pwd string ) {
1111 relativePath , err := filepath .Rel (root , pwd )
1212 if err != nil {
13- panic ( err )
13+ return
1414 }
1515
1616 // From the root to the current folder, search for arduino-cli.yaml files
You can’t perform that action at this time.
0 commit comments