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 18
18
package root
19
19
20
20
import (
21
- "fmt"
22
21
"io/ioutil"
23
22
"os"
24
23
"path/filepath"
@@ -134,8 +133,6 @@ func initConfigs() {
134
133
135
134
commands .Config .Navigate ("/" , pwd )
136
135
137
- fmt .Println (yamlConfigFile )
138
-
139
136
if yamlConfigFile != "" {
140
137
commands .Config .ConfigFile = paths .New (yamlConfigFile )
141
138
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 (
10
10
func (c * Configuration ) Navigate (root , pwd string ) {
11
11
relativePath , err := filepath .Rel (root , pwd )
12
12
if err != nil {
13
- panic ( err )
13
+ return
14
14
}
15
15
16
16
// 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