Skip to content

Commit 8e0c78b

Browse files
committed
Moved logging
1 parent 3c41cfc commit 8e0c78b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/resources/shell/path/path-resource.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export class PathResource extends Resource<PathConfig> {
9494
}
9595

9696
override async refresh(parameters: Partial<PathConfig>, context: RefreshContext<PathConfig>): Promise<Partial<PathConfig> | null> {
97+
console.log('My shell', process.env.SHELL);
98+
console.log('Other shell method', os.userInfo().shell)
99+
97100
// If declarations only, we only look into files to find potential paths
98101
if (parameters.declarationsOnly || context.isStateful) {
99102
const pathsResult = new Set<string>();
@@ -189,9 +192,6 @@ export class PathResource extends Resource<PathConfig> {
189192
if (pc.name !== 'paths') {
190193
return;
191194
}
192-
193-
console.log('My shell', process.env.SHELL);
194-
console.log('Other shell method', os.userInfo().shell)
195195

196196
const pathsToAdd = pc.newValue.filter((p: string) => !pc.previousValue.includes(p));
197197
const pathsToRemove = pc.previousValue.filter((p: string) => !pc.newValue.includes(p));

0 commit comments

Comments
 (0)