Skip to content

Commit 3fac7ac

Browse files
authored
Merge pull request #4 from mammad2c/hot-fix-for-output
fixed output skipping
2 parents 8cc81ca + ecab3ba commit 3fac7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/getRepos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const getRrepos = async (repos = [], utils, bar, scriptOptions = {}) => {
4848
const repoName = Utils.generateRepoName(nameWithNameSpace);
4949
const repoNameColor = Utils.generateRepoNameColorized(repoName);
5050
const repoUrl = utils.generateRepoUrl(httpUrlToRepo);
51-
const command = `git clone ${repoUrl} "./repos/${repoName}" --progress`;
51+
const command = `git clone ${repoUrl} "${scriptOptions.output}/${repoName}" --progress`;
5252

5353
console.log(chalk.yellow(`\ncloning ${repoNameColor} \n`));
5454

0 commit comments

Comments
 (0)