fix(FN-2688): add root dir to plugin install mock task store

- Add getRootDir() to the plugin command mock TaskStore used by createPluginLoader
- Ensure fn plugin install can resolve project root expectations without runtime failures
- Add a patch changeset for @runfusion/fusion documenting the CLI fix
This commit is contained in:
Fusion
2026-04-27 08:13:58 -07:00
committed by gsxdsm
parent bbc941a31e
commit ce1c355b7e
2 changed files with 6 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ async function createPluginLoader(
const projectPath = await getProjectPath(projectName);
// Create a mock TaskStore for the loader (plugins don't need full task store access)
const mockTaskStore = {
getRootDir: () => projectPath,
getFusionDir: () => projectPath + "/.fusion",
on: () => {},
off: () => {},