Fix convert scripts

This commit is contained in:
2024-06-17 09:44:48 +02:00
parent f8c9fec77e
commit 8213f6213f
+5 -5
View File
@@ -10,9 +10,9 @@ let compression = {"compressionType": "zstd+sh"};
for(file of files)
{
if(file.suffix() == "fits" || file.suffix() == "fit")
{
core.log("Converting " + file.fileName());
convertedFiles.push(file.convertAsync(file.relativeFilePath(), "XISF", compression));
}
if(file.suffix() == "fits" || file.suffix() == "fit")
{
core.log("Converting " + file.fileName());
file.convertAsync(file.relativeFilePath(), "XISF", compression);
}
}