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

Commit 038eddc

Browse files
committed
Reenabled setting the plugin data path. Should be tested by the FSAEG (FileSystemActor-Expert-Group).
1 parent 799258f commit 038eddc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import java.io.{File, PrintWriter}
44
import java.nio.file.Files
55

66
import akka.actor.Actor
7+
import org.codeoverflow.chatoverflow.Launcher
78
import org.codeoverflow.chatoverflow.connector.actor.FileSystemActor._
89

910
import scala.annotation.tailrec
@@ -14,8 +15,8 @@ import scala.io.Source
1415
*/
1516
class FileSystemActor extends Actor {
1617

17-
// TODO: Should be an startup option in the CLI
18-
private val dataFilePath = "data"
18+
// TODO: Should be tested
19+
private val dataFilePath = Launcher.pluginDataPath
1920

2021
// Create data folder if non existent
2122
private val dataFolder = new File(dataFilePath)

0 commit comments

Comments
 (0)