From 8069e707db8352f5dc48df25ef875ce484b90116 Mon Sep 17 00:00:00 2001 From: Luke Page Date: Fri, 28 Dec 2012 22:25:58 +0000 Subject: [PATCH] fix typo on import --- lib/less/tree/import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/tree/import.js b/lib/less/tree/import.js index 9fb76fde..02594a79 100644 --- a/lib/less/tree/import.js +++ b/lib/less/tree/import.js @@ -22,7 +22,7 @@ tree.Import = function (path, imports, features, once, index, rootpath) { // The '.less' extension is optional if (path instanceof tree.Quoted) { - this.path = /(\.[a-z]*$)|([\?;].*)?$/.test(path.value) ? path.value : path.value + '.less'; + this.path = /(\.[a-z]*$)|([\?;].*)$/.test(path.value) ? path.value : path.value + '.less'; } else { this.path = path.value.value || path.value; }