cleanup intermediate variables
All checks were successful
Build / build (20) (push) Successful in 1m12s
Build / build (20) (pull_request) Successful in 1m14s
Build / build (22) (pull_request) Successful in 40s
Build / build (18) (push) Successful in 44s
Build / build (18) (pull_request) Successful in 43s
Build / build (22) (push) Successful in 1m16s
All checks were successful
Build / build (20) (push) Successful in 1m12s
Build / build (20) (pull_request) Successful in 1m14s
Build / build (22) (pull_request) Successful in 40s
Build / build (18) (push) Successful in 44s
Build / build (18) (pull_request) Successful in 43s
Build / build (22) (push) Successful in 1m16s
This commit is contained in:
parent
fa7ca1d5d3
commit
47b184624b
@ -341,8 +341,7 @@ export const addItem = async (
|
||||
}
|
||||
}
|
||||
if (typeName in ExportFlavour) {
|
||||
const inventoryChanges = addCustomization(inventory, typeName);
|
||||
return inventoryChanges;
|
||||
return addCustomization(inventory, typeName);
|
||||
}
|
||||
if (typeName in ExportUpgrades || typeName in ExportArcanes) {
|
||||
const changes = [
|
||||
@ -1335,8 +1334,7 @@ export const addKeyChainItems = async (
|
||||
|
||||
const nonStoreItems = keyChainItems.map(item => fromStoreItem(item));
|
||||
|
||||
//TODO: inventoryChanges is not typed correctly
|
||||
const inventoryChanges = {};
|
||||
const inventoryChanges: IInventoryChanges = {};
|
||||
|
||||
for (const item of nonStoreItems) {
|
||||
const inventoryChangesDelta = await addItem(inventory, item);
|
||||
|
Loading…
x
Reference in New Issue
Block a user