don't use __filename if no filename

This commit is contained in:
cloudhead 2010-06-30 19:59:46 +02:00
parent f8e6b412bf
commit 2e47c69a98

View File

@ -178,7 +178,7 @@ less.Parser = function Parser(env) {
// the individual nodes in the tree.
this.optimization = ('optimization' in this.env) ? this.env.optimization : 1;
this.env.filename = this.env.filename || __filename;
this.env.filename = this.env.filename || null;
//
// The Parser