You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-jarmode-layertools/src/main/java/org/springframework/boot/jarmode/layertools/Context.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,8 @@ class Context {
55
55
* @param workingDir the working directory
56
56
*/
57
57
Context(FilearchiveFile, FileworkingDir) {
58
-
Assert.state(isExistingFile(archiveFile) && isJarOrWar(archiveFile), "Unable to find source archive");
58
+
Assert.state(isExistingFile(archiveFile), "Unable to find source archive");
59
+
Assert.state(isJarOrWar(archiveFile), "Source archive doesn't end with .jar or .war");
0 commit comments