Browse Source

Delete product images on Cypress reset request

Vova Tkach 5 years ago
parent
commit
632ab10084
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/module_index_act_cypress.go

+ 1 - 0
modules/module_index_act_cypress.go

@@ -32,6 +32,7 @@ func (this *Modules) RegisterAction_IndexCypressReset() *Action {
 
 		os.Remove(wrap.DConfig + string(os.PathSeparator) + "mysql.json")
 		os.Remove(wrap.DConfig + string(os.PathSeparator) + "config.json")
+		wrap.RemoveProductImageThumbnails("*", "*")
 
 		_, _ = db.Exec(
 			`DROP TABLE