Skip to content
Permalink
Browse files
[JENKINS-7798] better not to show the size for directories, I think.
  • Loading branch information
kohsuke committed Sep 13, 2011
1 parent 94cbf5b commit 96bc767965888a920f118d61b89241bc2fc9e11d
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/hudson/model/Run.java
@@ -878,7 +878,7 @@ private int addArtifacts( File dir, String path, String pathHref, ArtifactList r
String childPath = path + child;
String childHref = pathHref + Util.rawEncode(child);
File sub = new File(dir, child);
String length = sub.isFile() ? String.valueOf(sub.length()) : "0";
String length = sub.isFile() ? String.valueOf(sub.length()) : "";
boolean collapsed = (children.length==1 && parent!=null);
Artifact a;
if (collapsed) {

0 comments on commit 96bc767

Please sign in to comment.