lib/hackpad/cli/store.rb in hackpad-cli-0.1.2 vs lib/hackpad/cli/store.rb in hackpad-cli-0.1.3

- old
+ new

@@ -7,13 +7,13 @@ module Hackpad module Cli module Store module_function - def prepare(config) + def prepare(config, workspace) @refresh = config.refresh - @configdir = config.configdir - @pads_dir = File.join(config.workspacedir, 'pads') + @configdir = config.basedir + @pads_dir = File.join(workspace.basedir, 'pads') @list_cache = File.join(@pads_dir, 'padlist') prepare_dirs @pads_dir end def prepare_dirs(base)