fix(fs/local): opts is optional
This commit is contained in:
parent
7b15aa5f83
commit
3bb7541361
@ -5,7 +5,7 @@ import { fromEvent, retry } from 'promise-toolbox'
|
|||||||
import RemoteHandlerAbstract from './abstract'
|
import RemoteHandlerAbstract from './abstract'
|
||||||
|
|
||||||
export default class LocalHandler extends RemoteHandlerAbstract {
|
export default class LocalHandler extends RemoteHandlerAbstract {
|
||||||
constructor(remote, opts) {
|
constructor(remote, opts = {}) {
|
||||||
super(remote)
|
super(remote)
|
||||||
this._retriesOnEagain = {
|
this._retriesOnEagain = {
|
||||||
delay: 1e3,
|
delay: 1e3,
|
||||||
|
Loading…
Reference in New Issue
Block a user