Skip to content

Commit

Permalink
more snyk fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvernes committed Oct 23, 2023
1 parent 12ad0e3 commit ca0edf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/figma-broker/actions/createTokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ const writeCSSTokens = (tokens) => {
}),
)(tokens)

writeFile(PATHS.TOKENS, 'tokens', 'css', root)
writeFile(PATHS.TOKENS, 'elements', 'css', elements)
writeFile(PATHS.VARIABLES, 'tokens', 'css', root)
writeFile(PATHS.VARIABLES, 'elements', 'css', elements)
}

export async function createTokens({ query }) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/figma-broker/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ICONS_DIR = '../../packages/eds-icons'
const STORYBOOK_DIR = '../../packages/eds-core-react/stories'

export const PATHS = {
TOKENS: VARIABLES_DIR,
VARIABLES: VARIABLES_DIR,
BASE_TOKENS: `${VARIABLES_DIR}/src/base`,
COMPONENTS_TOKENS: `${VARIABLES_DIR}/components`,
ASSETS_ICONS: `${ASSETS_DIR}/icons`,
Expand Down

0 comments on commit ca0edf8

Please sign in to comment.