Skip to content

Commit

Permalink
fix: remove console log (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored Jan 15, 2024
1 parent 71d84ba commit 3f97dc2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-shrimps-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tokens-studio/sd-transforms': patch
---

Remove trailing console logs from previous update.
1 change: 0 additions & 1 deletion src/registerTransforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export async function registerTransforms(
sd.registerPreprocessor({
name: 'sd-transforms-preprocessors',
preprocessor: dictionary => {
console.log('halllelujah');
return parseTokens(dictionary, transformOpts) as DesignTokens;
},
});
Expand Down
1 change: 0 additions & 1 deletion test/integration/cross-file-refs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ describe('cross file references', () => {

it('supports cross file references e.g. expanding typography', async () => {
const file = await promises.readFile(outputFilePath, 'utf-8');
console.log(file);
expect(file).to.include(`
--sdTypoFontWeight: 400;
--sdTypoFontStyle: italic;
Expand Down
1 change: 0 additions & 1 deletion test/integration/swift-UI-color.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ describe('outputReferences integration', () => {

it('supports UIColor with color modifiers', async () => {
const file = await promises.readFile(outputFilePath, 'utf-8');
console.log(file);
expect(file).to
.include(` public static let colorDanger = UIColor(red: 0.251, green: 0.000, blue: 0.000, alpha: 1)
public static let colorError = UIColor(red: 0.125, green: 0.000, blue: 0.000, alpha: 1)
Expand Down

0 comments on commit 3f97dc2

Please sign in to comment.