File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " codify-plugin-lib" ,
3- "version" : " 1.0.167 " ,
3+ "version" : " 1.0.169 " ,
44 "description" : " Library plugin library" ,
55 "main" : " dist/index.js" ,
66 "typings" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export class Plugin {
113113 }
114114
115115 async import ( data : ImportRequestData ) : Promise < ImportResponseData > {
116- const { core, parameters } = data ;
116+ const { core, parameters, autoSearchAll } = data ;
117117
118118 if ( ! this . resourceControllers . has ( core . type ) ) {
119119 throw new Error ( `Cannot get info for resource ${ core . type } , resource doesn't exist` ) ;
@@ -122,7 +122,7 @@ export class Plugin {
122122 const result = await ptyLocalStorage . run ( this . planPty , ( ) =>
123123 this . resourceControllers
124124 . get ( core . type ! )
125- ?. import ( core , parameters , data . autoSearchAll )
125+ ?. import ( core , parameters , autoSearchAll )
126126 )
127127
128128 return {
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export class BackgroundPty implements IPty {
101101 }
102102 } ) ;
103103
104- console . log ( `Running command ${ cmd } ` )
104+ console . log ( `Running command ${ cmd } ${ options ?. cwd ? ` (cwd: ${ options . cwd } )` : '' } ` )
105105 this . basePty . write ( `${ command } \r` ) ;
106106
107107 } ) ) ;
Original file line number Diff line number Diff line change @@ -279,7 +279,9 @@ export class ResourceController<T extends StringIndexedObject> {
279279 }
280280
281281 const parametersToImport = await this . settings . allowMultiple . findAllParameters ?.( ) ;
282- const results = await Promise . all ( parametersToImport . map ( ( p ) => this . import ( core , p ) ) ) ;
282+ const results = await Promise . all ( parametersToImport . map ( ( p ) =>
283+ this . import ( core , p ) . catch ( ( ) => null ) )
284+ ) ;
283285 return results . filter ( Boolean ) . flat ( ) as ResourceJson [ ] ;
284286 }
285287
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import os from 'node:os';
33import path from 'node:path' ;
44
55export const VerbosityLevel = new class {
6- private level = 0 ;
6+ level = 0 ;
77
88 get ( ) {
99 return this . level ;
You can’t perform that action at this time.
0 commit comments