mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-05 08:14:32 +08:00
写入文件增加文件锁
This commit is contained in:
+1
-1
@@ -673,7 +673,7 @@ async function replaceDomainInFile(
|
||||
newDomainWithScheme += '/';
|
||||
}
|
||||
|
||||
await fs.writeFile(filePath, updatedContent, 'utf8');
|
||||
await writeFileWithLock(filePath, updatedContent);
|
||||
}
|
||||
|
||||
async function _updateLinuxMirror(
|
||||
|
||||
Reference in New Issue
Block a user