mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-10 02:48:33 +00:00
* ensure compile verbose pref is included on upload * better verbose typings Signed-off-by: Akos Kitta <a.kitta@arduino.cc> Co-authored-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -200,7 +200,11 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
) => ApplicationError<number, CoreError.ErrorLocation[]>,
|
||||
task: string
|
||||
): Promise<void> {
|
||||
await this.compile(Object.assign(options, { exportBinaries: false }));
|
||||
await this.compile({
|
||||
...options,
|
||||
verbose: options.verbose.compile,
|
||||
exportBinaries: false,
|
||||
});
|
||||
|
||||
const coreClient = await this.coreClient;
|
||||
const { client, instance } = coreClient;
|
||||
@@ -262,7 +266,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
if (programmer) {
|
||||
request.setProgrammer(programmer.id);
|
||||
}
|
||||
request.setVerbose(options.verbose);
|
||||
request.setVerbose(options.verbose.upload);
|
||||
request.setVerify(options.verify);
|
||||
|
||||
options.userFields.forEach((e) => {
|
||||
|
||||
Reference in New Issue
Block a user