Skip to content

Commit f06b9f9

Browse files
committed
fix: use target_root instead of target when resolving directory paths in index command
1 parent e88fe79 commit f06b9f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/gcode/src/commands/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn run(
3636
(target_root, identity.project_id, conn)
3737
} else {
3838
let conn = db::connect_readwrite(&ctx.database_url)?;
39-
(target, ctx.project_id.clone(), conn)
39+
(target_root, ctx.project_id.clone(), conn)
4040
}
4141
}
4242
None => {

0 commit comments

Comments
 (0)