From e056e81f56c72e20daaac5297bcf165a0f7461f4 Mon Sep 17 00:00:00 2001 From: Jared White Date: Sun, 12 May 2024 21:27:48 -0700 Subject: [PATCH] Fix additional symbol syntax in backtracking --- .../lib/bridgetown-core/concerns/site/fast_refreshable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridgetown-core/lib/bridgetown-core/concerns/site/fast_refreshable.rb b/bridgetown-core/lib/bridgetown-core/concerns/site/fast_refreshable.rb index 84df0404b..921551779 100644 --- a/bridgetown-core/lib/bridgetown-core/concerns/site/fast_refreshable.rb +++ b/bridgetown-core/lib/bridgetown-core/concerns/site/fast_refreshable.rb @@ -134,7 +134,7 @@ def mark_original_page_resources_for_fast_refresh(pages) end def transform_resources_for_fast_refresh(marked_resources, found_gen_pages) - marked_resources.each(&:transform!.(:write)) + marked_resources.each { _1.transform!.write } number_of_resources = marked_resources.length number_of_resources += 1 if found_gen_pages Bridgetown.logger.info(