mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
get the map file outputting and reference file from the end of the css file
This commit is contained in:
@@ -58,7 +58,7 @@ function getErrorPathReplacementFunction(dir) {
|
||||
}
|
||||
|
||||
function testSourcemap(name, err, compiledLess, doReplacements, sourcemap) {
|
||||
fs.readFile(path.join('test/sourcemaps', name) + '.json', 'utf8', function (e, expectedSourcemap) {
|
||||
fs.readFile(path.join('test/', name) + '.json', 'utf8', function (e, expectedSourcemap) {
|
||||
sys.print("- " + name + ": ");
|
||||
if (sourcemap === expectedSourcemap) {
|
||||
ok('OK');
|
||||
|
||||
Reference in New Issue
Block a user