From 5934697aa3c2dc4df6ef638411a11dce38fe064e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 9 Aug 2022 23:10:47 -0400 Subject: [PATCH] spelling: insensitively Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- bin/gollum-migrate-tags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gollum-migrate-tags b/bin/gollum-migrate-tags index add6a71e..daf2c5e7 100755 --- a/bin/gollum-migrate-tags +++ b/bin/gollum-migrate-tags @@ -252,7 +252,7 @@ def find_linked(link) # If it has an explicit file extension ('Samwi.md'), just test against that. test_path = ::File.extname(link).empty? ? /#{link}\..+/ : link # Select pages from the wiki whose path =~ 'Foo/Bar/Samwi.*' - # Match case-insenstively to mimic 4.x behavior! + # Match case-insensitively to mimic 4.x behavior! Object.class_variable_get(:"@@wiki_tree").select { |path| path =~ /^\/(.*\/)?#{test_path}/i }