Only write settings if no error when reading

This commit also switches from yosuke-furukawa/json5 to flynn/json5
because yosuke-furukawa/json5 does not provide a license.

Ref zyedidia/json5#1

Closes #775
This commit is contained in:
Zachary Yedidia
2017-08-06 12:02:17 -04:00
parent 5c785ab1ac
commit 202cfb574c
8 changed files with 84 additions and 10 deletions

View File

@@ -1,10 +1,11 @@
package main
import (
"github.com/blang/semver"
"testing"
"github.com/zyedidia/json5/encoding/json5"
"github.com/blang/semver"
"github.com/flynn/json5"
)
func TestDependencyResolving(t *testing.T) {