bug(client): rm Invalid path when using relatives #103

Closed
opened 2025-12-02 07:08:08 +00:00 by treadful · 0 comments
Owner

Looks like the uri is invalid when using relative local paths. Probably similar to #75.

$ jot rm --keep-local styles.css 
Deleting styles.css using key ~6f03ea7

thread 'main' panicked at /home/treadful/.cargo/registry/src/source.treadful.dev-2d6d7f5af50b8164/jot-client-0.3.7/src/cli/rm.rs:43:60:
called `Result::unwrap()` on an `Err` value: "Invalid path"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Looks like the uri is invalid when using relative local paths. Probably similar to #75. ``` $ jot rm --keep-local styles.css Deleting styles.css using key ~6f03ea7 thread 'main' panicked at /home/treadful/.cargo/registry/src/source.treadful.dev-2d6d7f5af50b8164/jot-client-0.3.7/src/cli/rm.rs:43:60: called `Result::unwrap()` on an `Err` value: "Invalid path" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ```
treadful changed title from bug(client): rm using wrong path to bug(client): rm Invalid path when using relatives 2025-12-02 07:08:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
treadful/jot#103
No description provided.