Closed
Description
Bug Report
Current behavior
Call GetPlatform
with all=true
on a clean system does not force to update the indices.
Expected behavior
It forces the update (exactly as it's done if calling via command-line core list --all
Environment
- CLI version (output of
arduino-cli version
): 0.19.2 commit 6a6f50ae - OS and platform: Alpine linux
Additional context
Looking into the source code i can't see any difference except missing instance.CreateAndInit()
call.
In my case i do call create + init requests before requesting the subscriptions.
PS. Using custom data
path in config file (not sure if it makes a difference)