jvcs 1.6.8 → 1.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/controllers/clone.js +0 -5
- package/package.json +1 -1
package/controllers/clone.js
CHANGED
|
@@ -135,11 +135,6 @@ async function cloneCmd(username,reponame) {
|
|
|
135
135
|
console.log(chalk.green(`Found repository, downloading...`));
|
|
136
136
|
|
|
137
137
|
const destPath = path.join(process.cwd(), reponame);
|
|
138
|
-
if(fs.existsSync(destPath)) {
|
|
139
|
-
console.log(chalk.red(`Destination '${reponame}' already exists. Remove or rename it and retry.`));
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
138
|
await downloadFolderFromDrive(commitFolder, destPath);
|
|
144
139
|
|
|
145
140
|
console.log(chalk.green(`Repository cloned successfully into ./${reponame}`));
|