Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
site.locales.forEach(locale => {
i18n.locale = locale;
let node = initNodeFromEntity(siteEntity, locale);
node = objectAssign(site.toMap(), node);
delete node.favicon;
delete node.faviconMetaTags;
if (site.favicon) {
node.faviconMetaTags___NODE = createFaviconMetaTagsNode(
node,
site,
createNode
);
}