From c1a4674f8d888bb0a0fc5272658b59b8756b70f4 Mon Sep 17 00:00:00 2001 From: David Roe Date: Wed, 18 Oct 2023 10:30:02 +0100 Subject: [PATCH] fix: remove unwanted semicolon in ruby datatype rule --- rules/javascript/shared/common/datatype.yml | 2 +- rules/ruby/shared/common/datatype.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/javascript/shared/common/datatype.yml b/rules/javascript/shared/common/datatype.yml index 3d792bfa5..731cea6a2 100644 --- a/rules/javascript/shared/common/datatype.yml +++ b/rules/javascript/shared/common/datatype.yml @@ -3,7 +3,7 @@ languages: - javascript sanitizer: javascript_shared_common_datatype_sanitizer patterns: - - pattern: $; + - pattern: $ filters: - variable: DATA_TYPE detection: datatype diff --git a/rules/ruby/shared/common/datatype.yml b/rules/ruby/shared/common/datatype.yml index 54eec6146..f82e155ac 100644 --- a/rules/ruby/shared/common/datatype.yml +++ b/rules/ruby/shared/common/datatype.yml @@ -3,7 +3,7 @@ languages: - ruby sanitizer: ruby_shared_common_datatype_sanitizer patterns: - - pattern: $; + - pattern: $ filters: - variable: DATA_TYPE detection: datatype