Fix linting issues
All checks were successful
Test / build (push) Successful in 9s

This commit is contained in:
Ethan Lane 2024-06-27 21:10:07 +01:00
parent 96f1b1ceec
commit 8ccd967cbe

View file

@ -127,12 +127,12 @@ export default class InventoryHelper {
const canvasHeight = imageHeight * Math.floor((gridSize ** 2) / gridSize);
const canvas = createCanvas(canvasWidth, canvasHeight);
const ctx = canvas.getContext('2d');
const ctx = canvas.getContext("2d");
for (let i = 0; i < page.cards.length; i++) {
const card = page.cards[i];
let image = await loadImage(path.join(process.env.DATA_DIR!, "cards", card.path));
const image = await loadImage(path.join(process.env.DATA_DIR!, "cards", card.path));
if (!image) {
AppLogger.LogError("InventoryHelper/GenerateInventoryImage", `Failed to load image for card ${card.id}`);