diff options
Diffstat (limited to 'cypress/dockerNode.ts')
-rw-r--r-- | cypress/dockerNode.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts index 180ff7894c6..33c2829c9d0 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, }) |