Browse Source

Revert to upstream ini dependency (#2304)

for-closed-social
Ethan Koenig 7 years ago
committed by Andrey Nering
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 View File

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

+ 3
- 4
vendor/vendor.json View File

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

Loading…
Cancel
Save