mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
don't use __filename if no filename
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user