From 2e47c69a98d9f66c8fe3c8bd747585cae2e26c4b Mon Sep 17 00:00:00 2001 From: cloudhead Date: Wed, 30 Jun 2010 19:59:46 +0200 Subject: [PATCH] don't use __filename if no filename --- lib/less/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/parser.js b/lib/less/parser.js index 1fcd4f7..3210848 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -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