Skip to content

Commit b4bb6f8

Browse files
committed
change source_url to string
1 parent 6412c0f commit b4bb6f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tmc-langs-cli/src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ pub enum Command {
184184
/// Version control branch.
185185
#[structopt(long)]
186186
git_branch: String,
187-
/// Version control URL.
187+
/// Version control URL or path.
188188
#[structopt(long)]
189-
source_url: Url,
189+
source_url: String,
190190
},
191191

192192
/// Run the tests for the exercise using the appropriate language plugin

tmc-langs-cli/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ fn run_app(matches: Opt) -> Result<()> {
414414
let refresh_result = tmc_langs::refresh_course(
415415
course_name.clone(),
416416
cache_path,
417-
source_url.into_string(),
417+
source_url,
418418
git_branch,
419419
cache_root,
420420
)

0 commit comments

Comments
 (0)