Browse Source

Revert to upstream ini dependency (#2304)

Ethan Koenig 3 years ago
parent
commit
c76ee5688b
2 changed files with 5 additions and 6 deletions
  1. 2 2
      vendor/gopkg.in/ini.v1/ini.go
  2. 3 4
      vendor/vendor.json

+ 2 - 2
vendor/gopkg.in/ini.v1/ini.go

@@ -35,7 +35,7 @@ const (
35 35
 
36 36
 	// Maximum allowed depth when recursively substituing variable names.
37 37
 	_DEPTH_VALUES = 99
38
-	_VERSION      = "1.28.1"
38
+	_VERSION      = "1.28.2"
39 39
 )
40 40
 
41 41
 // Version returns current package version literal.
@@ -542,7 +542,7 @@ func (f *File) WriteTo(w io.Writer) (int64, error) {
542 542
 func (f *File) SaveToIndent(filename, indent string) error {
543 543
 	// Note: Because we are truncating with os.Create,
544 544
 	// 	so it's safer to save to a temporary file location and rename afte done.
545
-	buf, err := f.writeToBuffer(indent);
545
+	buf, err := f.writeToBuffer(indent)
546 546
 	if err != nil {
547 547
 		return err
548 548
 	}

+ 3 - 4
vendor/vendor.json

@@ -1466,11 +1466,10 @@
1466 1466
 			"revisionTime": "2016-04-11T21:29:32Z"
1467 1467
 		},
1468 1468
 		{
1469
-			"checksumSHA1": "MMb7aeIRnJq17iQvuGvevymOIYQ=",
1470
-			"origin": "github.com/go-gitea/ini",
1469
+			"checksumSHA1": "RVc+qy5SP9wOZye+2/5LPJg/SHE=",
1471 1470
 			"path": "gopkg.in/ini.v1",
1472
-			"revision": "88679ba677ac064c7880c9bde81ef5b9fd132e82",
1473
-			"revisionTime": "2017-08-04T04:10:12Z"
1471
+			"revision": "20b96f641a5ea98f2f8619ff4f3e061cff4833bd",
1472
+			"revisionTime": "2017-08-13T05:15:16Z"
1474 1473
 		},
1475 1474
 		{
1476 1475
 			"checksumSHA1": "7jPSjzw3mckHVQ2SjY4NvtIJR4g=",