Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ensure download_directory is a Pathname

  • Loading branch information...
commit ea6967fd346fb89383d25e967e84de2c36608695 1 parent c76b6fc
Gordon Thiesfeld authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/pik/installer.rb
5 lib/pik/installer.rb
View
@@ -12,8 +12,9 @@ def config
end
def download_directory
- @download_dir ||= config.global.fetch(:download_dir,
- Pik.home + 'downloads')
+ @download_dir ||= Pathname(
+ config.global.fetch(:download_dir, Pik.home + 'downloads')
+ )
end
def download(package, opts={})
Please sign in to comment.
Something went wrong with that request. Please try again.