don't use __filename if no filename
This commit is contained in:
parent
f8e6b412bf
commit
2e47c69a98
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user