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) {
|
if (typeName in ExportFlavour) {
|
||||||
const inventoryChanges = addCustomization(inventory, typeName);
|
return addCustomization(inventory, typeName);
|
||||||
return inventoryChanges;
|
|
||||||
}
|
}
|
||||||
if (typeName in ExportUpgrades || typeName in ExportArcanes) {
|
if (typeName in ExportUpgrades || typeName in ExportArcanes) {
|
||||||
const changes = [
|
const changes = [
|
||||||
@ -1335,8 +1334,7 @@ export const addKeyChainItems = async (
|
|||||||
|
|
||||||
const nonStoreItems = keyChainItems.map(item => fromStoreItem(item));
|
const nonStoreItems = keyChainItems.map(item => fromStoreItem(item));
|
||||||
|
|
||||||
//TODO: inventoryChanges is not typed correctly
|
const inventoryChanges: IInventoryChanges = {};
|
||||||
const inventoryChanges = {};
|
|
||||||
|
|
||||||
for (const item of nonStoreItems) {
|
for (const item of nonStoreItems) {
|
||||||
const inventoryChangesDelta = await addItem(inventory, item);
|
const inventoryChangesDelta = await addItem(inventory, item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user