Bump all dependencies

This commit is contained in:
Matthew Penner
2020-12-27 11:49:08 -07:00
parent ddb683efb6
commit a4c8b8714b
13 changed files with 282 additions and 160 deletions

View File

@@ -150,7 +150,7 @@ func setValueAtPath(c *gabs.Container, path string, value interface{}) error {
return errors.WithMessage(err, "error while parsing array element at path")
}
var t = make([]interface{}, 1)
t := make([]interface{}, 1)
// If the length of matches is 4 it means we're trying to access an object down in this array
// key, so make sure we generate the array as an array of objects, and not just a generic nil
// array.

View File

@@ -219,7 +219,7 @@ func (f *ConfigurationFile) parseXmlFile(path string) error {
parts := strings.Split(replacement.Match, ".")
// Set the initial element to be the root element, and then work from there.
var element = doc.Root()
element := doc.Root()
// Iterate over the path to create the required structure for the given element's path.
// This does not set a value, only ensures that the base structure exists. We start at index