Skip to content
Browse files

Fix previous commit

  • Loading branch information...
1 parent 5ea5d98 commit 9d9f496931cb74fff597d186927251405c66c6b3 @jgonera committed Mar 14, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/manager.js
View
5 lib/manager.js
@@ -3,8 +3,9 @@ var EventEmitter = require('events').EventEmitter;
var LessFile = require('./lessfile');
function Manager(srcDir, dstDir) {
- this.srcDir = srcDir.replace(/^.\//, '');
- this.dstDir = dstDir.replace(/^.\//, '');
+ // strip "./" from the beginning for dstFile path generation to work
+ this.srcDir = srcDir.replace(/^\.\//, '');
+ this.dstDir = dstDir.replace(/^\.\//, '');
this.files = {};
this.dependencies = {};
this.pending = 0;

0 comments on commit 9d9f496

Please sign in to comment.
Something went wrong with that request. Please try again.