diff options
Diffstat (limited to 'tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js')
-rw-r--r-- | tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js b/tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js index 15ef510e11..e39c885428 100644 --- a/tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js +++ b/tools/node_modules/eslint/node_modules/@babel/core/lib/transformation/plugin-pass.js @@ -30,9 +30,6 @@ class PluginPass { addHelper(name) { return this.file.addHelper(name); } - addImport() { - this.file.addImport(); - } buildCodeFrameError(node, msg, _Error) { return this.file.buildCodeFrameError(node, msg, _Error); } @@ -42,6 +39,9 @@ exports.default = PluginPass; PluginPass.prototype.getModuleName = function getModuleName() { return this.file.getModuleName(); }; + PluginPass.prototype.addImport = function addImport() { + this.file.addImport(); + }; } 0 && 0; |