Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 502edf7

Browse files
committed
FIx invalid line in file system actor
1 parent 1f32d8d commit 502edf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/codeoverflow/chatoverflow/connector/actor/FileSystemActor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class FileSystemActor extends Actor {
3131
override def receive: Receive = {
3232
case LoadFile(pathInResources) =>
3333
try {
34-
sender ! Some(Source.fromFile(s"$dataFilePath${fixPath(pathInResources)}").mkString)
34+
sender ! Some(Source.fromFile(fixPath(pathInResources)).mkString)
3535
} catch {
3636
case _: Exception => None
3737
}

0 commit comments

Comments
 (0)