mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-06 10:30:39 +00:00
Merge branch 'master' into multiple-paths
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
const VERSION = "1.4.0"
|
||||
const VERSION = "1.4.1"
|
||||
|
||||
var CI bool = false
|
||||
var VERBOSE bool = false
|
||||
@@ -257,12 +257,7 @@ func appendOptionsToSlice(str *[]string, options OptionMap) {
|
||||
*str = append(*str, optionToString(key))
|
||||
continue
|
||||
}
|
||||
// String
|
||||
asString, ok := value.(string)
|
||||
if ok {
|
||||
*str = append(*str, optionToString(key), asString)
|
||||
continue
|
||||
}
|
||||
*str = append(*str, optionToString(key), fmt.Sprint(value))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user