We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b2ebdc commit c90fdd3Copy full SHA for c90fdd3
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