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 3ac0084 commit 487837dCopy full SHA for 487837d
src/arduino.cc/builder/print_used_libraries_if_verbose.go
@@ -33,6 +33,7 @@ import (
33
"arduino.cc/builder/constants"
34
"arduino.cc/builder/i18n"
35
"arduino.cc/builder/types"
36
+ "arduino.cc/builder/utils"
37
"time"
38
)
39
@@ -42,7 +43,7 @@ func (s *PrintUsedLibrariesIfVerbose) Run(context map[string]interface{}) error
42
43
verbose := context[constants.CTX_VERBOSE].(bool)
44
logger := context[constants.CTX_LOGGER].(i18n.Logger)
45
- if !verbose {
46
+ if !verbose || !utils.MapHas(context, constants.CTX_IMPORTED_LIBRARIES) {
47
return nil
48
}
49
0 commit comments