mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
fix typo on import
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user