Skip to content

Commit

Permalink
Note about removal of legacy directory support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 12, 2024
1 parent 18820b9 commit 10790d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/localhost/authority.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ def save(path = @root)
# Ensures that the directory to store the certificate exists. If the legacy
# directory (~/.localhost/) exists, it is moved into the new XDG Basedir
# compliant directory.
#
# After May 2025, this method should be removed as the legacy directory
# will no longer be contain valid certificates.
def ensure_authority_path_exists(path = @root)
old_root = File.expand_path("~/.localhost")

Expand Down

0 comments on commit 10790d5

Please sign in to comment.