Fix script issue - Windows (#1955)

This commit is contained in:
Salah Benmoussati
2023-09-21 14:55:14 +02:00
committed by GitHub
parent 77c9abdf7a
commit 881df90d46

View File

@@ -21,11 +21,7 @@ function generateChannelsFiles(srcFile) {
const targetedAutoUpdateChannels = ['stable', 'beta', 'iv', 'daily'];
for (const channel of targetedAutoUpdateChannels) {
const updatedFileName = srcFile.replace('latest', channel);
fs.copyFileSync(
yamlFilePath,
updatedFileName,
fs.constants.COPYFILE_FICLONE_FORCE,
);
fs.copyFileSync(srcFile, updatedFileName);
}
}