Skip to content

Commit 9e7f7b3

Browse files
committed
Print filenames in JsonKeyValueStore
Helpful for testing
1 parent aa5f323 commit 9e7f7b3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/core/src/main/scala/org/scalasteward/core/persistence/JsonKeyValueStore.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ final class JsonKeyValueStore[F[_], K, V](storeRoot: File, name: String)(implici
5454
}
5555
}
5656

57-
private def jsonFile(key: K): File =
58-
storeRoot / keyEncoder(key) / s"$name.json"
57+
private def jsonFile(key: K): File = {
58+
val file = storeRoot / keyEncoder(key) / s"$name.json"
59+
println(s"file is ${file}")
60+
file
61+
}
5962
}
6063

6164
object JsonKeyValueStore {

0 commit comments

Comments
 (0)