mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
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>
This commit is contained in:
parent
cef675358b
commit
0153124f98
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue