diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts index 180ff7894c63a..33c2829c9d0bb 100644 --- a/cypress/dockerNode.ts +++ b/cypress/dockerNode.ts @@ -8,7 +8,7 @@ import Docker from 'dockerode' import waitOn from 'wait-on' -import tar from 'tar' +import { c as createTar } from 'tar' import path from 'path' import { execSync } from 'child_process' import { existsSync } from 'fs' @@ -170,7 +170,7 @@ export const applyChangesToNextcloud = async function() { const container = docker.getContainer(CONTAINER_NAME) // Tar-streaming the above folders into the container - const serverTar = tar.c({ gzip: false }, folderPaths) + const serverTar = createTar({ gzip: false }, folderPaths) await container.putArchive(serverTar, { path: htmlPath, })