Skip to content

Commit 24fb4bc

Browse files
linting
1 parent a377cac commit 24fb4bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lib/react_on_rails/test_helper/webpack_assets_status_checker.rb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@ def resolve_asset_path(bundle_name)
5151
# Check if this is a Pro RSC manifest file
5252
if ReactOnRails::Utils.react_on_rails_pro?
5353
pro_config = ReactOnRailsPro.configuration
54-
return ReactOnRailsPro::Utils.react_client_manifest_file_path if bundle_name == pro_config.react_client_manifest_file
55-
return ReactOnRailsPro::Utils.react_server_client_manifest_file_path if bundle_name == pro_config.react_server_client_manifest_file
54+
if bundle_name == pro_config.react_client_manifest_file
55+
return ReactOnRailsPro::Utils.react_client_manifest_file_path
56+
end
57+
if bundle_name == pro_config.react_server_client_manifest_file
58+
return ReactOnRailsPro::Utils.react_server_client_manifest_file_path
59+
end
5660
end
57-
61+
5862
ReactOnRails::Utils.bundle_js_file_path(bundle_name)
5963
end
6064

0 commit comments

Comments
 (0)