File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
plugins/lesy-plugin-pilot/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ class LesyCompiler {
8888 if ( this . opts . loadDefaultPlugins ) {
8989 appData . plugins = [
9090 ...this . defaultPlugins . map ( ( p : string ) => require . resolve ( p ) ) ,
91- ...appData . plugins ,
91+ ...( appData . plugins || [ ] ) ,
9292 ] ;
9393 }
9494 const config = this . defaultConfig ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export default class PilotCommand {
6868 const projectsPaths = await this . fetchProjectPaths ( ) ; // todo: remove same project dup
6969 for ( let i = 0 ; i < projectsPaths . length ; i = i + 1 ) {
7070 const p = await require ( projectsPaths [ i ] ) . default ;
71- global . lesyWorkspace [ p . feature . pkg . name ] = p . localState ;
71+ global . lesyWorkspace [ p . localState . feature . pkg . name ] = p . localState ;
7272 }
7373 return global . lesyWorkspace ;
7474 }
You can’t perform that action at this time.
0 commit comments