diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 19:06:52 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-17 18:30:41 +0100 |
commit | b9906fb21e9f1aadf14e473b8c26a2ec7537fa11 (patch) | |
tree | 3b068eb999c675760d715e78da2d5eee8668cb44 /cypress/dockerNode.ts | |
parent | 9af7ee8d11b43a7a3d14f7aa8390aff0a4174f55 (diff) | |
download | nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.tar.gz nextcloud-server-b9906fb21e9f1aadf14e473b8c26a2ec7537fa11.zip |
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress/dockerNode.ts')
-rw-r--r-- | cypress/dockerNode.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts index 27706bfb7c3..c9f53d50bf0 100644 --- a/cypress/dockerNode.ts +++ b/cypress/dockerNode.ts @@ -20,7 +20,8 @@ * */ /* eslint-disable no-console */ -/* eslint-disable node/no-unpublished-import */ +/* eslint-disable n/no-unpublished-import */ +/* eslint-disable n/no-extraneous-import */ import Docker from 'dockerode' import waitOn from 'wait-on' @@ -36,7 +37,7 @@ const SERVER_IMAGE = 'ghcr.io/nextcloud/continuous-integration-shallow-server' * * @param {string} branch the branch of your current work */ -export const startNextcloud = async function(branch: string = 'master'): Promise<any> { +export const startNextcloud = async function(branch = 'master'): Promise<any> { try { // Pulling images @@ -48,6 +49,10 @@ export const startNextcloud = async function(branch: string = 'master'): Promise // https://github.com/apocas/dockerode/issues/357 docker.modem.followProgress(stream, onFinished) + /** + * + * @param err + */ function onFinished(err) { if (!err) { resolve(true) @@ -85,7 +90,7 @@ export const startNextcloud = async function(branch: string = 'master'): Promise }, Env: [ `BRANCH=${branch}`, - ] + ], }) await container.start() |