lib/gitdocs/cli.rb in gitdocs-0.3.1 vs lib/gitdocs/cli.rb in gitdocs-0.3.2
- old
+ new
@@ -58,10 +58,9 @@
say "Cleared paths from gitdocs"
end
desc "create PATH REMOTE", "Creates a new gitdoc root based on an existing remote"
def create(path, remote)
- path = self.config.normalize_path(path)
FileUtils.mkdir_p(File.dirname(path))
system("git clone -q #{remote} #{path}") or raise "Unable to clone into #{path}"
self.add(path)
say "Created #{path} path for gitdoc"
end