You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the user has passed the --ignore-conflicts flag, skip the node so it can be logged later as a component entry
98
-
continue;
99
-
}else{
100
-
// If the node also exists in the collection, warn the user of the potential conflict but keep as a @theme entry
101
-
newFilesMap[node.themeFolder][node.name]='@theme'
102
-
logger.log(`Conflict Warning: Pre-existing file ${node.themeFolder}/${node.name} without mapping conflicts with file in ${collectionName}. Keeping the theme file.`)
103
-
}
104
-
}else{
105
-
// If the node does not exist in the collection, add it to the new import map as a @theme entry
106
-
newFilesMap[node.themeFolder][node.name]='@theme'
107
-
}
108
-
}
109
-
110
-
// Persist prexisting asset entries from @theme or other collections
// If the user has passed the --ignore-conflicts flag, skip the node so it can be logged later as a component entry
166
+
continue;
167
+
}else{
168
+
// If the node also exists in the collection, warn the user of the potential conflict but keep as a @theme entry
169
+
newFilesMap[node.themeFolder][node.name]='@theme'
170
+
logger.log(`Conflict Warning: Pre-existing file ${node.themeFolder}/${node.name} without mapping conflicts with file in ${collectionName}. Keeping the theme file.`)
171
+
}
172
+
}else{
173
+
// If the node does not exist in the collection, add it to the new import map as a @theme entry
174
+
newFilesMap[node.themeFolder][node.name]='@theme'
175
+
}
176
+
}
177
+
178
+
// Persist prexisting asset entries from @theme or other collections
0 commit comments