1. Gencer Genç
  2. yuicompressor

Commits

Joey Smith  committed e6c457c Merge

Merge pull request #66 from tml/pr10Fixed

#10 fixed

  • Participants
  • Parent commits 2f87678, 2880182
  • Branches master

Comments (0)

Files changed (1)

File src/com/yahoo/platform/yui/compressor/YUICompressor.java

View file
 
                     String outputFilename = output;
                     // if a substitution pattern was passed in
-                    if (pattern.length > 1 && files.size() > 1) {
+                    if (pattern.length > 1 && files.size() > 0) {
                         outputFilename = inputFilename.replaceFirst(pattern[0], pattern[1]);
                     }