dotfiles 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
|