Skip to content

Commit

Permalink
Update esbuild-java
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Oct 12, 2023
1 parent 1a9d16f commit 37dd085
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ private void scanProject(Scanner scanner,
}
} else {
try (FileSystem artifactFs = ZipUtils.newFileSystem(rootDir)) {
LOGGER.debugf("%s is the separator", artifactFs.getSeparator());
Path rootDirFs = artifactFs.getPath("/");
Path dirPath = artifactFs.getPath(scanner.dir());
if (Files.exists(dirPath)) {
LOGGER.debugf("%s is the dir path", dirPath);
scan(rootDirFs, dirPath, scanner.pathMatcher(), scanner.charset(), webAssetConsumer,
false);
}
Expand Down Expand Up @@ -122,6 +124,7 @@ private void scan(
final PathMatcher assetsPathMatcher = relativePath.getFileSystem()
.getPathMatcher(pathMatcher);
final boolean isAsset = assetsPathMatcher.matches(relativePath);
LOGGER.debugf("%s %s %s", relativePath, pathMatcher, isAsset);
if (isAsset) {
String assetPath = root.relativize(filePath).normalize().toString();
if (File.separatorChar != '/') {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>3.1.3.Final</quarkus.version>

<esbuild-java.version>1.0.4</esbuild-java.version>
<esbuild-java.version>1.0.5</esbuild-java.version>
<scrimage-core.version>4.0.39</scrimage-core.version>
<yuicompressor.version>2.4.8</yuicompressor.version>
</properties>
Expand Down

0 comments on commit 37dd085

Please sign in to comment.