hopefully fix oob crash
This commit is contained in:
parent
758d0f9665
commit
d48742208d
1
ids.js
1
ids.js
|
@ -50,6 +50,7 @@ async function fetchRegularCells(sheet) {
|
||||||
let rowID = 1;
|
let rowID = 1;
|
||||||
let previousTier = 'penis tier :33';
|
let previousTier = 'penis tier :33';
|
||||||
while (true) {
|
while (true) {
|
||||||
|
if (rowID >= sheet.rowCount) break;
|
||||||
const cell = sheet.getCell(rowID, 0);
|
const cell = sheet.getCell(rowID, 0);
|
||||||
if (!cell || cell == null || cell.value == null) break;
|
if (!cell || cell == null || cell.value == null) break;
|
||||||
const color = cell.backgroundColor || {};
|
const color = cell.backgroundColor || {};
|
||||||
|
|
1
nlw.js
1
nlw.js
|
@ -43,6 +43,7 @@ async function fetchRegularCells(sheet) {
|
||||||
|
|
||||||
let rowID = 0;
|
let rowID = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
if (rowID >= sheet.rowCount) break;
|
||||||
const cell = sheet.getCell(rowID, 0);
|
const cell = sheet.getCell(rowID, 0);
|
||||||
if (!cell || cell == null) break;
|
if (!cell || cell == null) break;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue