diff options
Diffstat (limited to 'node_modules/@babel/template/lib/literal.js')
| -rw-r--r-- | node_modules/@babel/template/lib/literal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/@babel/template/lib/literal.js b/node_modules/@babel/template/lib/literal.js index 6104ed0e..58beffb4 100644 --- a/node_modules/@babel/template/lib/literal.js +++ b/node_modules/@babel/template/lib/literal.js @@ -21,7 +21,7 @@ function literalTemplate(formatter, tpl, opts) { const replacements = (0, _options.normalizeReplacements)(arg); if (replacements) { Object.keys(replacements).forEach(key => { - if (Object.prototype.hasOwnProperty.call(defaultReplacements, key)) { + if (hasOwnProperty.call(defaultReplacements, key)) { throw new Error("Unexpected replacement overlap."); } }); |
