Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gkouziik committed Mar 1, 2020
2 parents ed08439 + 6015321 commit 0578007
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 506 deletions.
1 change: 0 additions & 1 deletion lib/rules/detect-html-injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = {
create: function (context) {
return {
'CallExpression': function (node) {
console.log(node)
if (node.callee.hasOwnProperty('object')) {
if (node.callee.object.name === 'document') {
if (node.callee.hasOwnProperty('property')) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ module.exports = {
node.declarations[0].init.arguments[0].value === 'serialize-javascript'
) {
serializeVar = node.declarations[0].id.name
console.log(serializeVar)
}
}
}
Expand Down
Loading

0 comments on commit 0578007

Please sign in to comment.