Batch sample import service #6490
Annotations
2 warnings
rubocop:
app/services/samples/file_import_service.rb#L60
[rubocop] reported by reviewdog 🐶
Use a guard clause (`return if @headers.include?(@sample_name_column)`) instead of wrapping the code inside a conditional expression.
Raw Output:
app/services/samples/file_import_service.rb:60:7: C: Style/GuardClause: Use a guard clause (`return if @headers.include?(@sample_name_column)`) instead of wrapping the code inside a conditional expression.
|
rubocop:
app/services/samples/file_import_service.rb#L123
[rubocop] reported by reviewdog 🐶
Do not place comments on the same line as the `def` keyword.
Raw Output:
app/services/samples/file_import_service.rb:123:34: C: Style/CommentedKeyword: Do not place comments on the same line as the `def` keyword.
|
Loading