Skip to content

Commit 8355fba

Browse files
author
Alberto Iannaccone
authored
Fix firmware updater paths (#455)
* Update firmware-updater.js * version 2.4.1
1 parent 484446a commit 8355fba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arduino-create-agent-js-client",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "JS module providing discovery of the Arduino Create Plugin and communication with it",
55
"main": "lib/index.js",
66
"module": "es/index.js",

‎src/firmware-updater.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default class FirmwareUpdater {
209209
hex: '',
210210
extra: {
211211
auth: {
212-
password: `${this.loaderPath} -firmware ${this.firmwareVersionData.Path} ${addresses}`,
212+
password: `"${this.loaderPath}" -firmware "${this.firmwareVersionData.Path}" ${addresses}`,
213213
},
214214
},
215215
signature: isUsingAvrdude ? signaturesEnum.UPLOAD_FIRMWARE_AVRDUDE : signaturesEnum.UPLOAD_FIRMWARE_BOSSAC,

0 commit comments

Comments
 (0)