mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-13 01:36:08 +08:00
写入文件增加文件锁
This commit is contained in:
parent
96af251981
commit
2beb8d7051
|
@ -652,7 +652,7 @@ async function replaceDomainInFile(
|
|||
newDomainWithScheme += '/';
|
||||
}
|
||||
|
||||
await fs.writeFile(filePath, updatedContent, 'utf8');
|
||||
await writeFileWithLock(filePath, updatedContent);
|
||||
}
|
||||
|
||||
async function _updateLinuxMirror(
|
||||
|
|
Loading…
Reference in New Issue
Block a user