Skip to content

Commit

Permalink
Fix typo (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Iannaccone authored Oct 2, 2020
1 parent 7410b9d commit e9ef3fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arduino-create-agent-js-client",
"version": "2.3.2",
"version": "2.3.3",
"description": "JS module providing discovery of the Arduino Create Plugin and communication with it",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
1 change: 0 additions & 1 deletion src/firmware-updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export default class FirmwareUpdater {
versionsList = [...versionsList, ...versions[v]];
}
});
de
this.firmwareVersionData = versionsList.find(version => version.Name.split(' ').splice(-1)[0].trim() === firmwareVersion);
if (!this.firmwareVersionData) {
this.updating.next({ status: this.updateStatusEnum.ERROR, err: `Can't get firmware info: couldn't find version '${firmwareVersion}' for board '${boardId}'` });
Expand Down

0 comments on commit e9ef3fb

Please sign in to comment.