Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vpc.mappings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def self.getMaps(config)
end
end
@@maps = maps
FileUtils.mkpath (File.dirname (cached_mappings_path )) unless File.exists? (File.dirname (cached_mappings_path))
FileUtils.mkpath (File.dirname (cached_mappings_path )) unless File.exist? (File.dirname (cached_mappings_path))
File.write(cached_mappings_path, maps.to_yaml)
return maps
end
Expand All @@ -85,4 +85,4 @@ def self.getDefaultKey

end

end
end