aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorlukeflo2025-06-02 17:40:50 +0200
committerlukeflo2025-06-02 17:40:50 +0200
commit201aecebcd7c85127df9c43da01fdafc3465e53e (patch)
treea3ff2fe49886d6bd33f0c6627d07669b377cbd22 /src/app.rs
parent1a34950a45a8fba97dca432fe36569eec1a05c8f (diff)
downloadbibiman-201aecebcd7c85127df9c43da01fdafc3465e53e.tar.gz
bibiman-201aecebcd7c85127df9c43da01fdafc3465e53e.zip
impl check for valid filepath, update README
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.rs b/src/app.rs
index 15cdfe3..f7e7891 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -406,9 +406,9 @@ pub fn open_connected_file(cfg: &BibiConfig, file: &OsStr) -> Result<()> {
// } else {
// PathBuf::from(file)
// };
- let file = PathBuf::from(file);
+ // let file = PathBuf::from(file);
- let file = expand_home(&file).into_os_string();
+ // let file = expand_home(&file).into_os_string();
// Pass filepath as argument, pipe stdout and stderr to /dev/null
// to keep the TUI clean (where is it piped on Windows???)