Skip to content

Commit

Permalink
Merge pull request #116 from ChrisHo1341/fix-export
Browse files Browse the repository at this point in the history
Update ParserUtil.java
  • Loading branch information
ChrisHo1341 authored Apr 4, 2024
2 parents 99eca17 + 2ecdb7a commit 86f1c37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/seedu/address/logic/parser/ParserUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ public static Set<Tag> parseTags(Collection<String> tags) throws ParseException
*/
public static String parseFileName(String fileName) throws ParseException {
requireNonNull(fileName);
return fileName;
String trimmedFileName = fileName.trim();
return trimmedFileName;
}
}

0 comments on commit 86f1c37

Please sign in to comment.