Skip to content

Commit

Permalink
review note #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Aug 3, 2022
1 parent 4e4f599 commit 7babf58
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class TestSuitesService(
@Suppress("TOO_MANY_LINES_IN_LAMBDA", "UnsafeCallOnNullableType")
fun saveTestSuite(testSuitesDto: List<TestSuiteDto>): List<TestSuite> {
// FIXME: need to check logic about [dateAdded]
// It's kind of upsert (insert or update) with key of all fields excluding [dateAdded]
// This logic will be removed after https://github.com/saveourtool/save-cli/issues/429
val testSuites = testSuitesDto
.distinctBy {
// Same suites may be declared in different directories, we unify them here.
Expand Down

0 comments on commit 7babf58

Please sign in to comment.