Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Nov 20, 2024
1 parent 7606fd0 commit 42bdfd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def self.add_line_to_yml_file(file, content, location_array)
insert_after = 1
lines.each_with_index do |line, index|
break if current_needle.nil?
if line.split('#').first.strip == current_needle + ":"
if line.split("#").first.strip == current_needle + ":"
current_needle = location_array.shift.to_s
insert_after = index
current_space = line.match(/\s+/).to_s
Expand Down

0 comments on commit 42bdfd7

Please sign in to comment.