Remove runInContext call in convert.

This commit is contained in:
John-David Dalton
2016-03-05 08:39:00 -08:00
parent d38000bc33
commit 03716f62e8

View File

@@ -231,7 +231,7 @@ function baseConvert(util, name, func, options) {
var wrapper = wrappers[name];
var convert = function(options) {
var newUtil = isLib ? pristine.runInContext() : helpers,
var newUtil = isLib ? pristine : helpers,
newFunc = isLib ? pristine[name] : func,
newOptions = assign(assign({}, config), options);