Permalink
Browse files

Use the correct expression.

  • Loading branch information...
1 parent d479784 commit 2797c2fc5b9913cc1682063f57f9605b213bb4c4 @cweider committed Feb 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 node/utils/Minify.js
View
@@ -232,7 +232,8 @@ function getAceFile(callback) {
async.forEach(founds, function (item, callback) {
var filename = item.match(/"([^"]*)"/)[1];
var type = item.match(/INCLUDE_([A-Z]+)/)[1];
- var shortFilename = (filename.match(/^..\/static\/js\/(.*)$/, '')||[])[1];
+ var shortFilename =
+ (filename.match(/^\.\.\/static\/js\/(.*)$/, '') || [])[1];
//read the included files
if (shortFilename) {

0 comments on commit 2797c2f

Please sign in to comment.