mirror of
https://github.com/less/less.js.git
synced 2026-01-23 06:07:56 -05:00
Fix error filename
This commit is contained in:
@@ -127,7 +127,7 @@ BrowserImport.prototype.loadFile = function loadFile(filename, currentDirectory,
|
||||
// Use remote copy (re-parse)
|
||||
fullfill({ contents: data, filename: href, webInfo: { lastModified: lastModified }});
|
||||
}, function doXHRError(status, url) {
|
||||
reject({ type: 'File', message: "'" + url + "' wasn't found (" + status + ")", filename: href });
|
||||
reject({ type: 'File', message: "'" + url + "' wasn't found (" + status + ")", href: href });
|
||||
});
|
||||
}.bind(this));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user