From: Mathieu Baudier Date: Thu, 14 Sep 2023 05:03:21 +0000 (+0200) Subject: Skip JavaScript source maps X-Git-Tag: v2.3.8~16 X-Git-Url: https://git.argeo.org/?p=cc0%2Fargeo-build.git;a=commitdiff_plain;h=177b83d97d5f533ed7b3f1a2b1670789d467c3dc Skip JavaScript source maps --- diff --git a/src/org/argeo/build/Make.java b/src/org/argeo/build/Make.java index 8c9dadd..88036da 100644 --- a/src/org/argeo/build/Make.java +++ b/src/org/argeo/build/Make.java @@ -3,7 +3,6 @@ package org.argeo.build; import static java.lang.System.Logger.Level.DEBUG; import static java.lang.System.Logger.Level.ERROR; import static java.lang.System.Logger.Level.INFO; -import static java.lang.System.Logger.Level.TRACE; import static java.lang.System.Logger.Level.WARNING; import java.io.File; @@ -511,7 +510,7 @@ public class Make { if (exclude.matches(relativeP)) return FileVisitResult.CONTINUE; // skip JavaScript source maps - if (relativeP.getFileName().toString().endsWith(".map")) + if (file.getFileName().toString().endsWith(".map")) return FileVisitResult.CONTINUE; JarEntry entry = new JarEntry(relativeP.toString());