From de37f3b7d59252bd9d603b27a629eb8daa2ae93c Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Thu, 5 Jan 2023 18:38:33 +0100 Subject: [PATCH] Properly indent code block in change log --- ruby/ql/lib/CHANGELOG.md | 18 +++++++++--------- ruby/ql/lib/change-notes/released/0.5.0.md | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ruby/ql/lib/CHANGELOG.md b/ruby/ql/lib/CHANGELOG.md index 64e9e5981bc..b377a36ff55 100644 --- a/ruby/ql/lib/CHANGELOG.md +++ b/ruby/ql/lib/CHANGELOG.md @@ -2,17 +2,17 @@ ### Major Analysis Improvements - * Flow through `initialize` constructors is now taken into account. For example, in - ```rb -class C - def initialize(x) - @field = x +* Flow through `initialize` constructors is now taken into account. For example, in + ```rb + class C + def initialize(x) + @field = x + end end -end -C.new(y) -``` -there will be flow from `y` to the field `@field` on the constructed `C` object. + C.new(y) + ``` + there will be flow from `y` to the field `@field` on the constructed `C` object. ### Minor Analysis Improvements diff --git a/ruby/ql/lib/change-notes/released/0.5.0.md b/ruby/ql/lib/change-notes/released/0.5.0.md index 630619d56a3..6cda6906fae 100644 --- a/ruby/ql/lib/change-notes/released/0.5.0.md +++ b/ruby/ql/lib/change-notes/released/0.5.0.md @@ -2,17 +2,17 @@ ### Major Analysis Improvements - * Flow through `initialize` constructors is now taken into account. For example, in - ```rb -class C - def initialize(x) - @field = x +* Flow through `initialize` constructors is now taken into account. For example, in + ```rb + class C + def initialize(x) + @field = x + end end -end -C.new(y) -``` -there will be flow from `y` to the field `@field` on the constructed `C` object. + C.new(y) + ``` + there will be flow from `y` to the field `@field` on the constructed `C` object. ### Minor Analysis Improvements