Skip to content

Commit

Permalink
fix: use console.warn for all conversion warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Mar 7, 2020
1 parent 471f9e4 commit 72e6029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function pathToPolygon(path: string, parentCoords?: IParentTransform) {
function convertPolygon(args: string[], parentCoords?: IParentTransform) {
const [layerId, net, path, type, id, , , locked] = args;
if (type !== 'solid') {
console.log(`Warning: unsupported SOLIDREGION type in footprint: ${type}`);
console.warn(`Warning: unsupported SOLIDREGION type in footprint: ${type}`);
return null;
}
const polygonPoints = pathToPolygon(path, parentCoords);
Expand Down

0 comments on commit 72e6029

Please sign in to comment.