Skip to content

Commit

Permalink
Update GuideConverter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
yasmin-aumeeruddy authored Aug 7, 2020
1 parent b908a5f commit 1a8568b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GuideConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void main(String[] args) throws Exception {
String guideName = args[0];
getMD(guideName);
System.out.println("Guide converted");
System.out.println("Find markdown in instructions/"+guideName+".md");
System.out.println("Find markdown in instructions/"+guideName+"/"+guideName+.md");

}

Expand Down Expand Up @@ -105,7 +105,7 @@ public static void start(String guideName){

public static void removeLast(String guideName){
try{
java.io.RandomAccessFile file = new java.io.RandomAccessFile(guideName+".md", "rw");
java.io.RandomAccessFile file = new java.io.RandomAccessFile("instructions/"+guideName+"/"+guideName+".md", "rw");
byte b = 0;
long pos = file.length();
while (b != '\n' && --pos >= 0) {
Expand Down

0 comments on commit 1a8568b

Please sign in to comment.