From 3bb7541361e71ba8f7b7cdfe0273e7a30a8395e9 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 23 Mar 2021 12:48:49 +0100 Subject: [PATCH] fix(fs/local): opts is optional --- @xen-orchestra/fs/src/local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@xen-orchestra/fs/src/local.js b/@xen-orchestra/fs/src/local.js index 8d8e05493..80fb487a5 100644 --- a/@xen-orchestra/fs/src/local.js +++ b/@xen-orchestra/fs/src/local.js @@ -5,7 +5,7 @@ import { fromEvent, retry } from 'promise-toolbox' import RemoteHandlerAbstract from './abstract' export default class LocalHandler extends RemoteHandlerAbstract { - constructor(remote, opts) { + constructor(remote, opts = {}) { super(remote) this._retriesOnEagain = { delay: 1e3,