mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing reset command (#4732)
This commit is contained in:
committed by
enahum
parent
472a864060
commit
9b96fcc7c6
@@ -61,6 +61,8 @@ var resetCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
func resetCmdF(cmd *cobra.Command, args []string) error {
|
||||
initDBCommandContextCobra(cmd)
|
||||
|
||||
confirmFlag, _ := cmd.Flags().GetBool("confirm")
|
||||
if !confirmFlag {
|
||||
var confirm string
|
||||
|
||||
Reference in New Issue
Block a user