Incorrectly formatted error string SCC-ST1005
Style
Minor
2 months ago2 years old
error strings should not be capitalized
370	}
371
372	if _, err = x.Id(rel.ID).Delete(new(Release)); err != nil {
373		return fmt.Errorf("Delete: %v", err)374	}
375
376	return nil
error strings should not be capitalized
334	}
335
336	if err = sess.Commit(); err != nil {
337		return fmt.Errorf("Commit: %v", err)338	}
339
340	if !isPublish {
error strings should not be capitalized
236
237	r := &Release{RepoID: repoID, LowerTagName: strings.ToLower(tagName)}
238	if _, err = x.Get(r); err != nil {
239		return nil, fmt.Errorf("Get: %v", err)240	}
241
242	return r, r.LoadAttributes()
error strings should not be capitalized
191	}
192
193	if err = sess.Commit(); err != nil {
194		return fmt.Errorf("Commit: %v", err)195	}
196
197	// Only send webhook when actually published, skip drafts
error strings should not be capitalized
181	}
182
183	if _, err = sess.Insert(r); err != nil {
184		return fmt.Errorf("Insert: %v", err)185	}
186
187	if len(uuids) > 0 {