Commit 6c6ab6b6 by Adeel

Stats: Passes updated sourceMap to finishStats().

Fixes #472.
parent 96bdb483
...@@ -149,7 +149,7 @@ exports.renderSync = function(options) { ...@@ -149,7 +149,7 @@ exports.renderSync = function(options) {
options = assign({}, options); options = assign({}, options);
options = prepareOptions(options); options = prepareOptions(options);
output = options.file? binding.renderFileSync(options) : binding.renderSync(options); output = options.file? binding.renderFileSync(options) : binding.renderSync(options);
finishStats(options.stats); finishStats(options.stats, options.stats.sourceMap);
return output; return output;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment