added linter skip comments and removed the Presentator specific inflector.Usernamify

This commit is contained in:
Gani Georgiev
2022-07-11 16:16:01 +03:00
parent ed741662b2
commit 52c288d9db
4 changed files with 4 additions and 58 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ func (form *RecordUpsert) Submit() error {
}
// delete old files (if any)
if err := form.processFilesToDelete(); err != nil {
if err := form.processFilesToDelete(); err != nil { //nolint:staticcheck
// for now fail silently to avoid reupload when `form.Submit()`
// is called manually (aka. not from an api request)...
}