Fix lint.

This commit is contained in:
Sam Rose 2024-06-11 17:52:02 +01:00
parent 85c59c0350
commit 96efb17678
No known key found for this signature in database
1 changed files with 2 additions and 5 deletions

View File

@ -6,10 +6,7 @@ import * as mssql from "./mssql"
import * as mariadb from "./mariadb"
import { GenericContainer, StartedTestContainer } from "testcontainers"
import { testContainerUtils } from "@budibase/backend-core/tests"
import lockfile from "proper-lockfile"
import path from "path"
import fs from "fs"
import _ from "lodash"
import cloneDeep from "lodash/cloneDeep"
export type DatasourceProvider = () => Promise<Datasource>
@ -86,7 +83,7 @@ export async function startContainer(container: GenericContainer) {
// the hash it uses to determine reuse changes. We need to clone the
// container before calling start to ensure that we're using the same
// reuse hash every time.
const containerCopy = _.cloneDeep(container)
const containerCopy = cloneDeep(container)
startedContainer = await containerCopy.start()
lastError = undefined
break