Skip to content

sketch.always_export_binaries: true CLI config is ignored when compiling via gRPC API #1103

Closed
@kittaakos

Description

@kittaakos

Bug Report

If I add the following to the CLI config and compile via the gRPC API, the binaries do not end up in the sketch folder.

sketch:
  always_export_binaries: true

I have to explicitly set it in the code if I want the binary in my sketch folder.

const compilerReq = new CompileReq();
compilerReq.setExportBinaries(true);

Current behavior

Expected behavior

sketch.always_export_binaries: true is not ignored in the CLI config.

Environment

  • CLI version (output of arduino-cli version): 0.14.0-rc1
  • OS and platform:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: gRPCRelated to the gRPC interfacetype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions