|
@@ -215,7 +215,9 @@ public class LaserService implements ILaserService {
|
|
|
zipCmd = zipCmd.replace("@target", moveZipPath);
|
|
|
zipCmd = zipCmd.replace("@path", path);
|
|
|
CmdUtils.callLineSh(zipCmd);
|
|
|
-
|
|
|
+ if(!FileUtil.exist(moveZipPath)){
|
|
|
+ throw new RuntimeException("打包失败");
|
|
|
+ }
|
|
|
return FileUtil.file(moveZipPath);
|
|
|
|
|
|
}
|