ref
This commit is contained in:
1 parent
8b8815d2f2
commit
cf23b95af1
20 files changed
+361
-423
No files matched your search
+1
-2
@@ -15,7 +15,7 @@ func Delete() cli.Command {
|
||||
Name: "delete",
|
||||
Usage: "delete configuration by module_name",
|
||||
Action: deleteComm.action,
|
||||
BashComplete: bash.Module.ModuleName_ModuleData,
|
||||
BashComplete: bash.Get(bash.ModuleName, bash.ModuleData).Complete,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,6 @@ func (d deleteCommand) action(ctx *cli.Context) {
|
||||
|
||||
if stringToChange, err := sjson.Delete(string(jsonObject), pathObject); err != nil {
|
||||
utils.PrintError(err)
|
||||
return
|
||||
} else {
|
||||
utils.CreateUpdateConfig(stringToChange, moduleConfiguration)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user