Skip to content

Commit

Permalink
fixes #1: Get null pointer exception when trying to run
Browse files Browse the repository at this point in the history
  • Loading branch information
babyman committed Oct 22, 2021
1 parent 3bc4759 commit 012703b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ca/codepit/tw2md/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ private String convert(String s) {

@Option(names = {"--add-titles-tag"}, description = "Add the TiddlyWiki title as a header to the top of documents when" +
" tagged with this tag.")
protected List<String> addTitlesForTags;
protected List<String> addTitlesForTags = new ArrayList<>();

@Option(names = {"-m", "--map-tag"}, description = "Map tiddlywiki tags into Obsidian vault subdirectories.")
protected Map<String, String> tagToFolderMap;
protected Map<String, String> tagToFolderMap = new HashMap<>();

// INTERNAL STATE
// ================================================================================================================
Expand Down

0 comments on commit 012703b

Please sign in to comment.