hopefully fix oob crash

This commit is contained in:
Jill 2024-04-19 19:44:57 +03:00
parent 758d0f9665
commit d48742208d
Signed by: oat
GPG Key ID: 33489AA58A955108
2 changed files with 2 additions and 0 deletions

1
ids.js
View File

@ -50,6 +50,7 @@ async function fetchRegularCells(sheet) {
let rowID = 1;
let previousTier = 'penis tier :33';
while (true) {
if (rowID >= sheet.rowCount) break;
const cell = sheet.getCell(rowID, 0);
if (!cell || cell == null || cell.value == null) break;
const color = cell.backgroundColor || {};

1
nlw.js
View File

@ -43,6 +43,7 @@ async function fetchRegularCells(sheet) {
let rowID = 0;
while (true) {
if (rowID >= sheet.rowCount) break;
const cell = sheet.getCell(rowID, 0);
if (!cell || cell == null) break;
try {