mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Merge pull request #20992 from mikaelparsekyan
* pr/20992: Polish ApplicationHome Closes gh-20992
This commit is contained in:
+1
-2
@@ -96,11 +96,10 @@ public class ApplicationHome {
|
||||
if (source != null && source.exists() && !isUnitTest()) {
|
||||
return source.getAbsoluteFile();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private boolean isUnitTest() {
|
||||
|
||||
Reference in New Issue
Block a user