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
No related merge requests found
......@@ -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