diff options
| author | 2025-01-30 23:39:40 -0600 | |
|---|---|---|
| committer | 2025-01-30 23:39:40 -0600 | |
| commit | 58b85cd77338bfc5a35fa39e10598cadb27eee32 (patch) | |
| tree | 504f2ce93ff4ef3129b757018a3d9b47f257328b /src/launcher/runner.rs | |
| parent | remove dead oauth code (diff) | |
Remove some unused imports but not all of them
Diffstat (limited to 'src/launcher/runner.rs')
| -rw-r--r-- | src/launcher/runner.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/launcher/runner.rs b/src/launcher/runner.rs index a58602e..f7fd025 100644 --- a/src/launcher/runner.rs +++ b/src/launcher/runner.rs @@ -198,6 +198,7 @@ fn search_java_sync(base: impl AsRef<Path>, legacy: bool) -> Result<Option<PathB Ok(None) // not found (sadface) } +//noinspection RsConstantConditionIf pub async fn find_java(base: impl AsRef<Path>, legacy: bool) -> Result<Option<PathBuf>, io::Error> { let meta = fs::metadata(&base).await?; if meta.is_dir() { // do search |
