refactor
This commit is contained in:
@@ -104,9 +104,12 @@ const getBucketFiles = async (folderName) => {
|
||||
item.key.substring(0, item.key.length - ext.length) +
|
||||
"_setup.exe";
|
||||
|
||||
oldItems.push(setup_key);
|
||||
oldItems.push(setup_key + ".sha256");
|
||||
oldItems.push(setup_key + ".sig");
|
||||
const setup_item = ret.find((item) => item.key == setup_key);
|
||||
if (setup_item) {
|
||||
oldItems.push(setup_key);
|
||||
oldItems.push(setup_key + ".sha256");
|
||||
oldItems.push(setup_key + ".sig");
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user