fix: Change the application flags order avoiding panics
This commit solves issue alecthomas/kong#264
This commit is contained in:
committed by
Alec Thomas
parent
38c56226ba
commit
e49700181c
+1
-1
@@ -582,7 +582,7 @@ func (c *Context) Resolve() error {
|
||||
})
|
||||
}
|
||||
}
|
||||
c.Path = append(inserted, c.Path...)
|
||||
c.Path = append(c.Path, inserted...)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user