Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed conditional to check for jslib files
Browse files Browse the repository at this point in the history
sondermanish committed Sep 4, 2024
1 parent 2a6885a commit 3c76115
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -23,7 +23,6 @@
import org.json.JSONObject;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;
import org.springframework.util.FileSystemUtils;
import org.springframework.util.StringUtils;
import reactor.core.publisher.Mono;
@@ -280,10 +279,10 @@ protected Set<String> updateEntitiesInRepo(ApplicationGitReference applicationGi
fileOperations.scanAndDeleteDirectoryForDeletedResources(validPages, baseRepo.resolve(PAGE_DIRECTORY));

// Save JS Libs if there's at least one change
if (modifiedResources != null
&& (modifiedResources.isAllModified()
|| !CollectionUtils.isEmpty(
modifiedResources.getModifiedResourceMap().get(CUSTOM_JS_LIB_LIST)))) {
if (modifiedResources != null) {
// && (modifiedResources.isAllModified()
// || !CollectionUtils.isEmpty(
// modifiedResources.getModifiedResourceMap().get(CUSTOM_JS_LIB_LIST)))) {

Path jsLibDirectory = baseRepo.resolve(JS_LIB_DIRECTORY);
Set<Map.Entry<String, Object>> jsLibEntries =

0 comments on commit 3c76115

Please sign in to comment.