mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Revert "Ruby: Use rb prefix in diagnostic IDs for consistency with queries"
This reverts commit a6509c7a37.
This commit is contained in:
@@ -93,7 +93,7 @@ impl LogWriter {
|
||||
DiagnosticMessage {
|
||||
timestamp: chrono::Utc::now(),
|
||||
source: Source {
|
||||
id: format!("rb/{}", id),
|
||||
id: format!("{}/{}", self.extractor, id),
|
||||
name: name.to_owned(),
|
||||
extractor_name: Some(self.extractor.to_owned()),
|
||||
},
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"severity": "warning",
|
||||
"source": {
|
||||
"extractorName": "ruby",
|
||||
"id": "rb/parse-error",
|
||||
"id": "ruby/parse-error",
|
||||
"name": "Parse error"
|
||||
},
|
||||
"visibility": {
|
||||
@@ -37,7 +37,7 @@
|
||||
"severity": "warning",
|
||||
"source": {
|
||||
"extractorName": "ruby",
|
||||
"id": "rb/parse-error",
|
||||
"id": "ruby/parse-error",
|
||||
"name": "Parse error"
|
||||
},
|
||||
"visibility": {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"severity": "warning",
|
||||
"source": {
|
||||
"extractorName": "ruby",
|
||||
"id": "rb/unknown-character-encoding",
|
||||
"id": "ruby/unknown-character-encoding",
|
||||
"name": "Unknown character encoding"
|
||||
},
|
||||
"visibility": {
|
||||
|
||||
Reference in New Issue
Block a user