mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Apply template string transform.
This commit is contained in:
@@ -14,7 +14,7 @@ import updateWrapDetails from './_updateWrapDetails.js';
|
||||
* @returns {Function} Returns `wrapper`.
|
||||
*/
|
||||
function setWrapToString(wrapper, reference, bitmask) {
|
||||
var source = (reference + '');
|
||||
const source = `${ reference }`;
|
||||
return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user