dotfiles 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dot_files/command.rb +1 -0
- metadata +2 -2
data/lib/dot_files/command.rb
CHANGED
|
@@ -66,6 +66,7 @@ module DotFiles
|
|
|
66
66
|
def remote_files
|
|
67
67
|
if files = get_remote_files
|
|
68
68
|
array = []
|
|
69
|
+
DotFiles.config.shas = Hash.new unless DotFiles.config.shas.is_a?(Hash)
|
|
69
70
|
for filename, remote_sha in files
|
|
70
71
|
hash = {:filename => filename, :action => nil, :local_sha => nil, :local_cached_sha => nil, :remote_sha => remote_sha, :local_path => File.join(ENV['HOME'], filename)}
|
|
71
72
|
|