Skip to content

Commit

Permalink
fix: remove excess whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed May 30, 2020
1 parent 08db800 commit 1cd7905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core-v2/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ StyleDictionaryApi.registerFormat({
const group = dictionary.allProperties.length ? dictionary.allProperties[0].group : 'unknown'
const value = store.get('theme')
const selector = `.Theme_${group}_${value}`
return `${selector} {\n${variablesWithPrefix(' --', dictionary.allProperties)} \n}\n`
return `${selector} {\n${variablesWithPrefix(' --', dictionary.allProperties)}\n}\n`
},
})

Expand All @@ -28,7 +28,6 @@ StyleDictionaryApi.registerTransform({

export async function build(config: any): Promise<any> {
const normalizedConfig = Array.isArray(config) ? config : [config]

for (const themeConfig of normalizedConfig) {
store.set('mapper', await loadMappers(themeConfig.mappers))
for (const themeFileConfig of themeConfig.files) {
Expand Down

0 comments on commit 1cd7905

Please sign in to comment.