Skip to content

Commit 0fabc18

Browse files
committed
fix(lesy-plugin-pilot): lookup for localstate instead of direct prop
1 parent 5849d0f commit 0fabc18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugins/lesy-plugin-pilot/src/pilot.command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)