mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Trim application search output
This commit is contained in:
parent
bef976914f
commit
e7fc20b40d
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ public abstract class ExternalApplicationType implements PrefsChoiceValue {
|
|||
if (exit == 0) {
|
||||
var first = out.lines().findFirst();
|
||||
if (first.isPresent()) {
|
||||
return first.map(Path::of);
|
||||
return first.map(String::trim).map(Path::of);
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Reference in a new issue