Skip to content

Commit f16d9f8

Browse files
committed
fix(css-blocks): Remove stray console.logs
1 parent 2ab4108 commit f16d9f8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/css-blocks/src/BlockSyntax/BlockPath.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class BlockPath {
217217
case char === STATE_END:
218218
if (!isState(token)) { return this.throw(ERRORS.illegalCharNotInState(char)); }
219219
if ((!hasName(token) || !isQuoted(token)) && !isIdent(working)) {
220-
console.log(working); return this.throw(ERRORS.invalidIdent(working), working.length);
220+
return this.throw(ERRORS.invalidIdent(working), working.length);
221221
}
222222
(hasName(token)) ? (token.value = working) : (token.name = working);
223223
this.addToken(token);

packages/css-blocks/test/BlockSyntax/block-path-test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export class BlockPathTests {
1313

1414
@test "finds the class"() {
1515
let path = new BlockPath(".test");
16-
console.log(path.block, path.path);
1716
assert.equal(path.block, "");
1817
assert.equal(path.path, ".test");
1918
}

0 commit comments

Comments
 (0)