fix upgrade of existing project
This commit is contained in:
parent
6bdc0a82bb
commit
8b60410f7a
@ -72,7 +72,7 @@ class FileManager {
|
||||
);
|
||||
|
||||
const manifest = {
|
||||
version: require("../package.json").version,
|
||||
version: require("../../../package.json").version,
|
||||
installed_at: new Date().toISOString(),
|
||||
install_type: config.installType,
|
||||
agent: config.agent || null,
|
||||
|
||||
@ -75,7 +75,7 @@ class Installer {
|
||||
state.type = "v4_existing";
|
||||
state.hasV4Manifest = true;
|
||||
state.hasBmadCore = true;
|
||||
state.manifest = await fileManager.readManifest(bmadCorePath);
|
||||
state.manifest = await fileManager.readManifest(installDir);
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user