There was an error while loading. Please reload this page.
1 parent 41d51f8 commit 7d7653fCopy full SHA for 7d7653f
1 file changed
src/server.rs
@@ -780,13 +780,13 @@ if ($f.ShowDialog() -eq "OK") { Write-Output $f.SelectedPath }
780
.ok()
781
.and_then(|o| {
782
let s = String::from_utf8_lossy(&o.stdout).trim().to_string();
783
- if s.is_empty() { None } else { Some(s) }
+ if s.is_empty() {
784
+ None
785
+ } else {
786
+ Some(s)
787
+ }
788
});
- respond_json(
- request,
- 200,
- &json!({ "path": path }),
789
- );
+ respond_json(request, 200, &json!({ "path": path }));
790
}
791
792
(false, _) if path.starts_with("/api/i18n/") => {
0 commit comments