We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffeef1 commit a43744aCopy full SHA for a43744a
src/socket-daemon.js
@@ -463,7 +463,15 @@ export default class SocketDaemon extends Daemon {
463
_upload(uploadPayload, uploadCommandInfo) {
464
if (Array.isArray(uploadCommandInfo.tools)) {
465
uploadCommandInfo.tools.forEach(tool => {
466
- this.downloadTool(tool.name, tool.version, tool.packager);
+ if (this.v2) {
467
+ this.downloading.next({ status: this.DOWNLOAD_IN_PROGRESS });
468
+ this.v2.installTool(tool).then(() => {
469
+ this.downloading.next({ status: this.DOWNLOAD_DONE });
470
+ });
471
+ }
472
+ else {
473
+ this.downloadTool(tool.name, tool.version, tool.packager);
474
475
});
476
}
477
0 commit comments