diff options
Diffstat (limited to 'tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/removeComments.js')
-rw-r--r-- | tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/removeComments.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/removeComments.js b/tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/removeComments.js new file mode 100644 index 0000000000..30319b1c9c --- /dev/null +++ b/tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/removeComments.js @@ -0,0 +1,14 @@ +"use strict"; + +exports.__esModule = true; +exports.default = removeComments; + +var _constants = require("../constants"); + +function removeComments(node) { + _constants.COMMENT_KEYS.forEach(function (key) { + node[key] = null; + }); + + return node; +}
\ No newline at end of file |