Skip to content

Commit ae6aec2

Browse files
author
Akos Kitta
committed
Updated the CLI to 0.11.0.
- Adjusted to gRPC API change, and - Log the CLI commit only once when generating from protoc. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent f6f6cb2 commit ae6aec2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

arduino-ide-extension/scripts/download-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
(() => {
1212

13-
const DEFAULT_VERSION = '0.9.0'; // require('moment')().format('YYYYMMDD');
13+
const DEFAULT_VERSION = '0.11.0'; // require('moment')().format('YYYYMMDD');
1414

1515
const path = require('path');
1616
const shell = require('shelljs');

arduino-ide-extension/scripts/generate-protocol.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939
if (shell.exec(`git -C ${repository} rev-parse --abbrev-ref HEAD`).code !== 0) {
4040
shell.exit(1);
4141
}
42-
if (shell.exec(`git -C ${repository} rev-parse --short HEAD`).code !== 0) {
43-
shell.exit(1);
44-
}
4542

4643
const pluginExec = shell.which('grpc_tools_node_protoc_plugin');
4744
if (!pluginExec || pluginExec.code !== 0) {

arduino-ide-extension/src/node/boards-service-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class BoardsServiceImpl implements BoardsService {
220220
resolve(resp);
221221
}));
222222

223-
const requiredTools = resp.getRequiredToolsList().map(t => <Tool>{
223+
const requiredTools = resp.getToolsdependenciesList().map(t => <Tool>{
224224
name: t.getName(),
225225
packager: t.getPackager(),
226226
version: t.getVersion()

0 commit comments

Comments
 (0)