Commit 29cae23
Fix packs generator error when server_bundle_js_file is empty
Add safety check to prevent PacksGenerator from attempting operations
on invalid file paths when server_bundle_js_file is not configured.
The configuration defaults to empty string when server-side rendering
is not enabled, which would cause the method to construct malformed
file paths and potentially fail.
This change follows the existing pattern used elsewhere in the class
where server_bundle_js_file.present? is checked before operations.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 8481a3d commit 29cae23
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
0 commit comments