fix typo on import

This commit is contained in:
Luke Page
2012-12-28 22:25:58 +00:00
parent 1ca6d8795f
commit 8069e707db

View File

@@ -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;
}