Merge branch 'master' into automation-tests-4

This commit is contained in:
Sam Rose 2025-02-06 09:34:58 +00:00 committed by GitHub
commit b938181d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 22 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "3.4.2",
"version": "3.4.3",
"npmClient": "yarn",
"concurrency": 20,
"command": {

@ -1 +1 @@
Subproject commit 43a5785ccb4f83ce929b29f05ea0a62199fcdf23
Subproject commit 8cbaa80a9cc1152c6cd53722e64da7d824da6e16

View File

@ -609,7 +609,15 @@ export class GoogleSheetsMock {
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
const cell = this.getCellNumericIndexes(sheetId, row, col)
if (!cell) {
throw new Error("Cell not found")
const sheet = this.getSheetById(sheetId)
if (!sheet) {
throw new Error(`Sheet ${sheetId} not found`)
}
const sheetRows = sheet.data[0].rowData.length
const sheetCols = sheet.data[0].rowData[0].values.length
throw new Error(
`Failed to find cell at ${row}, ${col}. Range: ${valueRange.range}. Sheet dimensions: ${sheetRows}x${sheetCols}.`
)
}
const value =
valueRange.values[row - startRowIndex][col - startColumnIndex]
@ -638,7 +646,15 @@ export class GoogleSheetsMock {
for (let col = startColumnIndex; col <= endColumnIndex; col++) {
const cell = this.getCellNumericIndexes(sheetId, row, col)
if (!cell) {
throw new Error("Cell not found")
const sheet = this.getSheetById(sheetId)
if (!sheet) {
throw new Error(`Sheet ${sheetId} not found`)
}
const sheetRows = sheet.data[0].rowData.length
const sheetCols = sheet.data[0].rowData[0].values.length
throw new Error(
`Failed to find cell at ${row}, ${col}. Range: ${valueRange.range}. Sheet dimensions: ${sheetRows}x${sheetCols}.`
)
}
values.push(this.cellValue(cell))
}

View File

@ -20,7 +20,8 @@ export interface QuotaTriggeredRequest {
}
export interface LicenseActivateRequest {
installVersion?: string
installVersion: string
installId: string
}
export interface UpdateLicenseRequest {