Merge branch 'master' into multiple-paths

This commit is contained in:
2021-10-31 22:54:14 +01:00
3 changed files with 9 additions and 8 deletions

View File

@@ -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))
}
}
}