File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) ) ;
You can’t perform that action at this time.
0 commit comments