Skip to content

Commit ed5c08e

Browse files
authored
[infinity-loop-on-auto-install-fails] avoid infinity loop if auto install fails (#955)
1 parent a049e68 commit ed5c08e

File tree

1 file changed

+1
-3
lines changed
  • packages/plugins/connection-manager/dependency-manager

1 file changed

+1
-3
lines changed

packages/plugins/connection-manager/dependency-manager/extension.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ export default class DependencyManager implements IExtensionPlugin {
6868
if (dep.args) args.push(...dep.args);
6969
})
7070
progress.report({ message: `Installing "${depNamesString.join(", ")}". Please wait till it finishes. Check the opened terminal for more info.` });
71-
terminal.sendText(`${dependencyManagerSettings.packageManager} ${args.join(" ")}`);
72-
terminal.show();
73-
terminal.sendText("exit 0");
71+
terminal.sendText(`${dependencyManagerSettings.packageManager} ${args.join(" ")} && exit 0`);
7472
});
7573
progress.report({ increment: 100, message: `Finished installing ${depNamesString.join(", ")}` });
7674
});

0 commit comments

Comments
 (0)