fix: preserve upgrade runner logs
This commit is contained in:
@@ -271,7 +271,7 @@ function updateState(patch) {
|
||||
...state,
|
||||
...patch,
|
||||
updatedAt: new Date().toISOString(),
|
||||
logs: state.logs || [],
|
||||
logs: patch.logs || state.logs || [],
|
||||
};
|
||||
ensureDir(path.dirname(stateFile));
|
||||
const tempFile = `${stateFile}.tmp`;
|
||||
|
||||
Reference in New Issue
Block a user