mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
fix upgrade of existing project
This commit is contained in:
@@ -72,7 +72,7 @@ class FileManager {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const manifest = {
|
const manifest = {
|
||||||
version: require("../package.json").version,
|
version: require("../../../package.json").version,
|
||||||
installed_at: new Date().toISOString(),
|
installed_at: new Date().toISOString(),
|
||||||
install_type: config.installType,
|
install_type: config.installType,
|
||||||
agent: config.agent || null,
|
agent: config.agent || null,
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ class Installer {
|
|||||||
state.type = "v4_existing";
|
state.type = "v4_existing";
|
||||||
state.hasV4Manifest = true;
|
state.hasV4Manifest = true;
|
||||||
state.hasBmadCore = true;
|
state.hasBmadCore = true;
|
||||||
state.manifest = await fileManager.readManifest(bmadCorePath);
|
state.manifest = await fileManager.readManifest(installDir);
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user