Skip to content

Commit

Permalink
Don't stringify the never prematurely
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Feb 4, 2024
1 parent 7a981ef commit aeb26aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shady-css/ast-iterator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ export function* getChildren(node: Node) {
return; // no child nodes
default:
const never: never = node;
console.error(`Got a node of unknown type: ${never}`);
console.error(`Got a node of unknown type: `, never);
}
}

0 comments on commit aeb26aa

Please sign in to comment.