Skip to content

Commit

Permalink
remove check for empty file dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Sep 3, 2022
1 parent 0422f52 commit 279ae2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public List<Path> getFileDirectories(FilePreferences preferences) {
.ifPresent(metaDataDirectory -> fileDirs.add(getFileDirectoryPath(metaDataDirectory)));

// 3. BIB file directory or Main file directory
if (fileDirs.isEmpty() && preferences.shouldStoreFilesRelativeToBibFile()) {
if (preferences.shouldStoreFilesRelativeToBibFile()) {
getDatabasePath().ifPresent(dbPath -> {
Path parentPath = dbPath.getParent();
if (parentPath == null) {
Expand Down

0 comments on commit 279ae2e

Please sign in to comment.