Merge pull request #5 from EliotBerriot/1-s3

Fix #1: fixed broken initialization check under S3
This commit is contained in:
2019-12-03 09:39:25 +01:00
committed by GitHub

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) {