Skip to content

Commit dcf764f

Browse files
committed
Merge tag 'v0.7.7' of github.com:cayleygraph/cayley into HEAD
2 parents 9c843ed + 705bb04 commit dcf764f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cayley/command/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func NewHttpCmd() *cobra.Command {
4747
cmd.Flags().Bool("init", false, "initialize the database before using it")
4848
cmd.Flags().DurationP("timeout", "t", 30*time.Second, "elapsed time until an individual query times out")
4949
cmd.Flags().String("assets", "", "[depreacted]")
50-
if cmd.Flags().Lookup("assets") != nil || cmd.Flags().Lookup("assets").Value.String() == "" {
50+
if cmd.Flags().Lookup("assets") != nil || cmd.Flags().Lookup("assets").Value.String() != "" {
5151
clog.Errorf("The assets flag is deprecated as assets are provided as part of the binary.")
5252
}
5353
registerLoadFlags(cmd)

0 commit comments

Comments
 (0)