fix: Change the application flags order avoiding panics

This commit solves issue alecthomas/kong#264
This commit is contained in:
Denis Titusov
2022-01-27 12:21:20 +03:00
committed by Alec Thomas
parent 38c56226ba
commit e49700181c
+1 -1
View File
@@ -582,7 +582,7 @@ func (c *Context) Resolve() error {
})
}
}
c.Path = append(inserted, c.Path...)
c.Path = append(c.Path, inserted...)
return nil
}