bin/nixenvironment in nixenvironment-0.0.66 vs bin/nixenvironment in nixenvironment-0.0.67

- old
+ new

@@ -214,10 +214,16 @@ end end puts dest_url = ask('Destination repository url: ') + + Git.ls_remote(dest_url) + raise "Repository not found: '#{dest_url}'" unless Git.last_cmd_success? + local_directory_to_clone = ask('Directory to clone into: ') + raise 'Cloning into an existing directory is not allowed!' if Dir.exist?(local_directory_to_clone) + repo_name = File.basename(dest_url, GIT_EXT) template_project_name = File.basename(template_project_url, GIT_EXT) begin FileUtils.rm_rf(ADJUSTER_WORKING_COPY_PATH) \ No newline at end of file