Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 7a25637

Browse files
committed
Clarify dependency management logging
1 parent 6b389f7 commit 7a25637

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/main.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,19 @@ async function asyncActivate() {
7474
informationView.status = "Activating...";
7575

7676
try {
77-
await dependencyManagement.installWrappedDependencies(compositeDisposable);
77+
await dependencyManagement.installWrappedDependencies(compositeDisposable, {
78+
console: {
79+
log: (...args: Array<unknown>) => {
80+
console.log("dependencyManagement:", ...args);
81+
},
82+
info: (...args: Array<unknown>) => {
83+
console.info("dependencyManagement:", ...args);
84+
},
85+
warn: (...args: Array<unknown>) => {
86+
console.warn("dependencyManagement:", ...args);
87+
},
88+
},
89+
});
7890
} catch (err) {
7991
informationView.status = "Failed to install";
8092
throw err;

0 commit comments

Comments
 (0)