Merge pull request #46893 from nextcloud/fix/cypress-local

This commit is contained in:
John Molakvoæ 2024-07-31 08:34:51 +02:00 committed by GitHub
commit 8ff8d9ca19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
})