update third party dependencies

This commit is contained in:
MaysWind
2020-11-12 01:01:27 +08:00
parent bd6093e20e
commit 8fe600ce1a
8 changed files with 63 additions and 71 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import (
"encoding/json"
"os"
"github.com/urfave/cli"
"github.com/urfave/cli/v2"
"github.com/mayswind/lab/pkg/datastore"
"github.com/mayswind/lab/pkg/log"
@@ -14,7 +14,7 @@ import (
func initializeSystem(c *cli.Context) (*settings.Config, error) {
var err error
configFilePath := c.GlobalString("conf-path")
configFilePath := c.String("conf-path")
if configFilePath != "" {
if _, err = os.Stat(configFilePath); err != nil {