lib/jets/commands/import/cheatsheet.rb in jets-1.6.1 vs lib/jets/commands/import/cheatsheet.rb in jets-1.6.2
- old
+ new
@@ -9,10 +9,10 @@
end
def create
path = File.expand_path("./templates/", File.dirname(__FILE__)) + "/submodules-cheatsheet.md"
basename = File.basename(path)
- dest = "#{Jets.root}#{basename}"
+ dest = "#{Jets.root}/#{basename}"
cheatsheet = Jets::Erb.result(path, cheatsheet_vars)
FileUtils.mkdir_p(File.dirname(dest))
IO.write(dest, cheatsheet)
puts "Created #{basename} to help with using submodules."
end
\ No newline at end of file