Skip to content

Commit

Permalink
Merge pull request #14 from daentech/master
Browse files Browse the repository at this point in the history
Return null when the user doesn't select a folder
  • Loading branch information
alexrintt authored Feb 1, 2022
2 parents 9a89cb4 + 3de4439 commit 937e2f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@ internal class DocumentFileApi(private val plugin: SharedStoragePlugin) :
)

pendingResult.second.success("$uri")

return true
}
pendingResult.second.success(null)
} finally {
pendingResults.remove(OPEN_DOCUMENT_TREE_CODE)
}
Expand Down

0 comments on commit 937e2f7

Please sign in to comment.