From c1eea7fb35ba112ba7383b8c56c967b5d305678b Mon Sep 17 00:00:00 2001 From: Joao Machado <13315199+machadoit@users.noreply.github.com> Date: Wed, 22 May 2024 16:48:51 +0100 Subject: [PATCH] Showcase of uploading SARIF to GH checks --- with-config-file.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/with-config-file.js b/with-config-file.js index 6b67327..f1da337 100644 --- a/with-config-file.js +++ b/with-config-file.js @@ -12,6 +12,12 @@ const regex = /[0-9]/; const regex2 = /\d/; +const regexBad = /[0-9]/; + +console.log(regexBad) + +const regexUnused = /\d/; + var o = {d: 1}; Object.defineProperty(o, 'c', { set: function(value) {