Skip to content

Commit 0136afb

Browse files
author
Alberto Iannaccone
authored
Support compilation extrafiles (#498)
* support compilation extrafiles * 2.4.9
1 parent 510b5de commit 0136afb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.8",
3+
"version": "2.4.9",
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/daemon.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export default class Daemon {
171171
}
172172
});
173173
});
174-
this._upload(uploadPayload, uploadCommandInfo);
174+
const files = [...(uploadCommandInfo.files || []), ...(compilationResult.files || [])];
175+
this._upload(uploadPayload, { ...uploadCommandInfo, files });
175176
});
176177
}
177178

0 commit comments

Comments
 (0)