Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
taysea committed Sep 5, 2024
1 parent f2b2662 commit 2dd069f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions design-tokens/src/scripts/sync_figma_to_tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ async function main() {
tokenDirs.forEach(async dir => {
const api = new FigmaApi(process.env.PERSONAL_ACCESS_TOKEN || '');
const localVariables = await api.getLocalVariables(fileKeys[dir]);
fs.writeFileSync(
`./dist/figma-${dir}.json`,
JSON.stringify(localVariables, null, 2),
);
const tokensFiles = tokenFilesFromLocalVariables(localVariables);

const outputArgIdx = process.argv.indexOf('--output');
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6672,7 +6672,7 @@ hpack.js@^2.1.6:

"hpe-design-tokens-alpha@https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable":
version "0.1.0"
resolved "https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable#72c2874a8204629c462fdc09b39935275664de78"
resolved "https://github.com/grommet/hpe-design-system/tarball/design-tokens-alpha-stable#54ce986121357952f84f322415df20ccae372772"
dependencies:
axios "^1.6.0"
dotenv "^16.3.1"
Expand Down

0 comments on commit 2dd069f

Please sign in to comment.