Skip to content

Commit

Permalink
fix(pp) fixing edge push cases where content and folders from non-pus…
Browse files Browse the repository at this point in the history
…hed hosts gets dragged along by dependency, and containers in a drafted state fail to publish

ref: #30370
  • Loading branch information
wezell committed Oct 17, 2024
1 parent 1996394 commit 4a5ec0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ private void handleContents(final Collection<File> contentsIn, final File folder
File workingOn=null;
Contentlet content = null;
ContentWrapper wrapper = null;
final Collection<File> contents = contentsIn.stream().filter(File::isDirectory).collect(Collectors.toList());
final Collection<File> contents = contentsIn.stream().filter(File::isFile).collect(Collectors.toList());
try{
final XStream xstream = XStreamHandler.newXStreamInstance();
final Set<Pair<String,Long>> pushedIdsToIgnore = new HashSet<>();
Expand Down

0 comments on commit 4a5ec0b

Please sign in to comment.