Skip to content

Commit

Permalink
Removed file directory in output
Browse files Browse the repository at this point in the history
  • Loading branch information
weishuangtan committed Oct 13, 2020
1 parent c039d22 commit 0e0b637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/trippie/Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static Scanner startFile(File file) {
try {
if (file.createNewFile()) {
System.out.println("I can't find a file in your directory :(");
System.out.println("I created a file for you here!\n" + "File location: " + file.getAbsolutePath());
System.out.println("I created a new Trippie.txt file for you!");
} else if (!file.createNewFile()) {
System.out.println("I found a file in your directory!\nSetting up file over here...");
}
Expand Down
3 changes: 1 addition & 2 deletions text-ui-test/EXPECTED.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Welcome to
Travel made easy
_________________________________________________________________________
I can't find a file in your directory :(
I created a file for you here!
File location: C:\Users\Wei Shuang\Desktop\tp\build\libs\trippie.txt
I created a new Trippie.txt file for you!
>> _________________________________________________________________________
Got it. I've added this place:
1200 - 1400 nus and ntu
Expand Down

0 comments on commit 0e0b637

Please sign in to comment.