We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6412c0f commit b4bb6f8Copy full SHA for b4bb6f8
tmc-langs-cli/src/app.rs
@@ -184,9 +184,9 @@ pub enum Command {
184
/// Version control branch.
185
#[structopt(long)]
186
git_branch: String,
187
- /// Version control URL.
+ /// Version control URL or path.
188
189
- source_url: Url,
+ source_url: String,
190
},
191
192
/// Run the tests for the exercise using the appropriate language plugin
tmc-langs-cli/src/lib.rs
@@ -414,7 +414,7 @@ fn run_app(matches: Opt) -> Result<()> {
414
let refresh_result = tmc_langs::refresh_course(
415
course_name.clone(),
416
cache_path,
417
- source_url.into_string(),
+ source_url,
418
git_branch,
419
cache_root,
420
)
0 commit comments