We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent acfad24 commit e47bfdfCopy full SHA for e47bfdf
internal/cli/configuration/configuration.go
@@ -109,5 +109,11 @@ func FindConfigFileInArgsFallbackOnEnv(args []string) string {
109
if p, ok := os.LookupEnv("ARDUINO_CONFIG_FILE"); ok {
110
return p
111
}
112
+ if p, ok := os.LookupEnv("ARDUINO_DIRECTORIES_DATA"); ok {
113
+ return filepath.Join(p, "arduino-cli.yaml")
114
+ }
115
+ if p, ok := os.LookupEnv("ARDUINO_DATA_DIR"); ok {
116
117
118
return filepath.Join(getDefaultArduinoDataDir(), "arduino-cli.yaml")
119
0 commit comments