Fix lint.
This commit is contained in:
parent
85c59c0350
commit
96efb17678
|
@ -6,10 +6,7 @@ import * as mssql from "./mssql"
|
||||||
import * as mariadb from "./mariadb"
|
import * as mariadb from "./mariadb"
|
||||||
import { GenericContainer, StartedTestContainer } from "testcontainers"
|
import { GenericContainer, StartedTestContainer } from "testcontainers"
|
||||||
import { testContainerUtils } from "@budibase/backend-core/tests"
|
import { testContainerUtils } from "@budibase/backend-core/tests"
|
||||||
import lockfile from "proper-lockfile"
|
import cloneDeep from "lodash/cloneDeep"
|
||||||
import path from "path"
|
|
||||||
import fs from "fs"
|
|
||||||
import _ from "lodash"
|
|
||||||
|
|
||||||
export type DatasourceProvider = () => Promise<Datasource>
|
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
|
// 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
|
// container before calling start to ensure that we're using the same
|
||||||
// reuse hash every time.
|
// reuse hash every time.
|
||||||
const containerCopy = _.cloneDeep(container)
|
const containerCopy = cloneDeep(container)
|
||||||
startedContainer = await containerCopy.start()
|
startedContainer = await containerCopy.start()
|
||||||
lastError = undefined
|
lastError = undefined
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue