Skip to content

Commit 9d865e3

Browse files
committed
Fix cross platform issue
1 parent 6ff8ab9 commit 9d865e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ shadowJar {
5454

5555
run{
5656
standardInput = System.in
57+
enableAssertions = true
5758
}
5859

5960
checkstyle {

src/main/java/bot/Bot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Bot {
3434
*/
3535
public Bot() {
3636
this.ui = new Ui();
37-
this.storage = new Storage("/data/tasks.txt");
37+
this.storage = new Storage("data/tasks.txt");
3838
try {
3939
tasks = new TaskList(storage.load());
4040
} catch (LoadingException e) {

0 commit comments

Comments
 (0)