Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
navdeep5 committed Nov 14, 2024
1 parent 91f2abf commit 267ccdb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ export function collectBlockProperties(jsonFile: JSONNode): {

if (isStatic && !hasName && typeof typeValue === 'string') {
staticBlockLocations.push(typeLocation);
} else if (!hasName && typeValue !== '@app' && !isInArrayWithParentKey(ancestors, 'presets')) {
} else if (
!hasName &&
typeValue !== '@app' &&
!isInArrayWithParentKey(ancestors, 'presets')
) {
themeBlockLocations.push(typeLocation);
}
} else if (node.key.value === 'name') {
Expand Down

0 comments on commit 267ccdb

Please sign in to comment.