Skip to content

Commit 7bc3bfe

Browse files
chore(deps): update dependency @adobe/eslint-config-helix to v3.0.24 (#2700)
* chore(deps): update dependency @adobe/eslint-config-helix to v3.0.24 * chore: fix lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tobias Bocanegra <tripod@adobe.com>
1 parent 27299bc commit 7bc3bfe

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"yargs": "18.0.0"
8383
},
8484
"devDependencies": {
85-
"@adobe/eslint-config-helix": "3.0.23",
85+
"@adobe/eslint-config-helix": "3.0.24",
8686
"@eslint/config-helpers": "0.5.3",
8787
"@semantic-release/changelog": "6.0.3",
8888
"@semantic-release/git": "10.0.1",

packages/browser-injectables/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/server/utils.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,15 @@ window.LiveReloadOptions = {
714714

715715
// Build final metadata object with computed values
716716
const finalMetadata = { ...metadata };
717-
if (title) finalMetadata.title = title;
718-
if (description) finalMetadata.description = description;
719-
if (image) finalMetadata.image = image;
717+
if (title) {
718+
finalMetadata.title = title;
719+
}
720+
if (description) {
721+
finalMetadata.description = description;
722+
}
723+
if (image) {
724+
finalMetadata.image = image;
725+
}
720726

721727
// Remove special properties that shouldn't become meta tags
722728
delete finalMetadata['title:suffix'];

0 commit comments

Comments
 (0)