Lint
This commit is contained in:
parent
cfb1665ed9
commit
49cca6d69a
|
@ -1,7 +1,7 @@
|
||||||
import { validate as isValidUUID } from "uuid"
|
import { validate as isValidUUID } from "uuid"
|
||||||
import { processStringSync, encodeJSBinding } from "@budibase/string-templates"
|
import { processStringSync, encodeJSBinding } from "@budibase/string-templates"
|
||||||
|
|
||||||
import { runJsHelpersTests } from "@budibase/string-templates/test/utils"
|
const { runJsHelpersTests } = require("@budibase/string-templates/test/utils")
|
||||||
|
|
||||||
import tk from "timekeeper"
|
import tk from "timekeeper"
|
||||||
import { init } from ".."
|
import { init } from ".."
|
||||||
|
|
|
@ -98,7 +98,7 @@ export async function processObject<T extends Record<string, any>>(
|
||||||
} else if (typeof val === "object") {
|
} else if (typeof val === "object") {
|
||||||
parsedValue = await processObject(object[key], context, opts)
|
parsedValue = await processObject(object[key], context, opts)
|
||||||
}
|
}
|
||||||
;(object as any)[key] = parsedValue
|
object = { ...object, [key]: parsedValue }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return object
|
return object
|
||||||
|
|
Loading…
Reference in New Issue