revert to env.syncImport

This commit is contained in:
Luke Page
2013-11-17 15:42:41 +00:00
parent f946ee951e
commit 526ca32f80

View File

@@ -167,7 +167,7 @@ less.Parser.fileLoader = function (file, currentFileInfo, callback, env) {
var paths = [currentFileInfo.currentDirectory].concat(env.paths);
paths.push('.');
if (env.syncImports) {
if (env.syncImport) {
for (var i = 0; i < paths.length; i++) {
try {
pathname = path.join(paths[i], file);