Skip to content
Snippets Groups Projects
Verified Commit 74614ffa authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Fixes bug cloning assignment instead of exercise

parent 6b75288f
Branches
Tags
1 merge request!3Resolve "Option -c for exercise subcommand clones assignment"
......@@ -92,7 +92,7 @@ class ExerciseCreateCommand extends CommanderCommand {
if (options.clone) {
console.log(chalk.cyan('Please wait while we are cloning the repository...'));
await GitlabManager.cloneRepository(options.clone, assignment.gitlabCreationInfo.ssh_url_to_repo, `DojoExercise - ${ exercise.assignmentName }`, true, 0);
await GitlabManager.cloneRepository(options.clone, exercise.gitlabCreationInfo.ssh_url_to_repo, `DojoExercise - ${exercise.assignmentName}`, true, 0);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment