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
No related branches found
No related tags found
1 merge request!3Resolve "Option -c for exercise subcommand clones assignment"
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
......@@ -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