diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2025-11-22 17:02:48 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2025-11-22 17:02:48 +0800 |
| commit | 6bbef337cc7dc554220fe9cae844f6e0835d3251 (patch) | |
| tree | b69f60b6caf373a57dd1945ad0364820c0f5b395 /src/bin/jv.rs | |
| parent | 1ba2b1d3b8eb9eee016f7a150025434633061293 (diff) | |
fix: Use `current_dir` instead of `current_doc_dir`
Diffstat (limited to 'src/bin/jv.rs')
| -rw-r--r-- | src/bin/jv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs index 5dfe5a5..717ad34 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -2437,7 +2437,7 @@ async fn jv_account_add(user_dir: UserDirectory, args: AccountAddArgs) { } } if args.keygen { - let output_path = current_local_path().unwrap().join("tempkey.pem"); + let output_path = current_dir().unwrap().join("tempkey.pem"); match Command::new("openssl") .args([ |
