diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-30 20:12:28 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-07-30 20:12:28 +0200 |
commit | 0153124f98ef75aea17f6b6224da221a9347ee60 (patch) | |
tree | c76d7e5e2b68cac62c50d215f39a547a5c395405 /cypress | |
parent | cef675358b202f6504a2883ca6502434c19d8f26 (diff) | |
download | nextcloud-server-0153124f98ef75aea17f6b6224da221a9347ee60.tar.gz nextcloud-server-0153124f98ef75aea17f6b6224da221a9347ee60.zip |
chore: Fix cypress docker integration when testing locally
The tar library was updated but not the syntax adjusted.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'cypress')
-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, }) |