Skip to content

Commit 25266d6

Browse files
authored
Fix mismatched indentations warning message (#1150)
If you run ruby with warnings enabled there is a warning message from `acts-as-taggable-on.rb` because the `begin` and `rescue` on line 10 aren't aligned: lib/acts-as-taggable-on.rb:13: warning: mismatched indentations at 'rescue' with 'begin' at 10 I've aligned them, which fixes the warning message.
1 parent cccaf98 commit 25266d6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ As such, _Breaking Changes_ are major. _Features_ would map to either major or m
1515
* Features
1616
* [@tagliala Add back Ruby 3.1 compatibility](https://github.com/mbleigh/acts-as-taggable-on/pull/1082)
1717
* Reduce packaged gem size
18+
* Fixes
19+
* [@iainbeeston Fix mismatched indentations warning message](https://github.com/mbleigh/acts-as-taggable-on/pull/1150)
1820

1921
### [v12.0.0) / 2024-11-09](https://github.com/mbleigh/acts-as-taggable-on/compare/v11.0.0...v12.0.0)
2022

lib/acts-as-taggable-on.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
begin
1111
require 'rails/engine'
1212
require 'acts-as-taggable-on/engine'
13-
rescue LoadError
13+
rescue LoadError
1414
end
1515

1616
require 'digest/sha1'

0 commit comments

Comments
 (0)