Fix #1: fixed broken initialization check under S3

This commit is contained in:
Eliot Berriot
2019-12-02 11:12:41 +01:00
parent 652158d1ed
commit 671542cd30

View File

@@ -4,7 +4,7 @@ import { config, VERBOSE } from './autorestic'
import { Backend, Backends } from './types'
import { exec, ConfigError } from './utils'
const ALREADY_EXISTS = /(?=.*exists)(?=.*already)(?=.*config).*/
const ALREADY_EXISTS = /(?=.*already)(?=.*config).*/
export const getPathFromBackend = (backend: Backend): string => {
switch (backend.type) {