mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-09 18:59:36 +00:00
fix(windows): persist adaptive mirror history
This commit is contained in:
@@ -460,6 +460,7 @@ try {
|
||||
smokeFailure = new Error(`${error.message}${detail ? `\n${detail}` : ''}`);
|
||||
} finally {
|
||||
try {
|
||||
if (process.platform === 'win32') fs.rmSync(serverStatPath, { force: true });
|
||||
await stop(child, rpcPort, secret);
|
||||
if (smokePassed) {
|
||||
const stat = fs.readFileSync(serverStatPath, 'utf8');
|
||||
|
||||
Reference in New Issue
Block a user