Skip to content

Commit 34520b8

Browse files
author
Stefania
committed
fixed downloadTool replacement strategy default
1 parent 3781f30 commit 34520b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/socket-daemon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ export default class SocketDaemon extends Daemon {
473473
* @param {string} packageName
474474
* @param {string} replacementStrategy
475475
*/
476-
downloadTool(toolName, toolVersion, packageName, replacementStrategy) {
476+
downloadTool(toolName, toolVersion, packageName, replacementStrategy = 'keep') {
477477
this.downloading.next({ status: this.DOWNLOAD_IN_PROGRESS });
478478
this.socket.emit('command', `downloadtool ${toolName} ${toolVersion} ${packageName} ${replacementStrategy}`);
479479
}

0 commit comments

Comments
 (0)