Skip to content

CLI round parameter is passed as a string in SVGPathData (Bug) #569

@kdzone

Description

@kdzone

If run the Windows command (without config file!!!) :
webfont %OUT_DIR%/**/*.svg --round 4

An error occurs:

Error: assertNumbers arguments[0] is not a number. string == typeof 4
    at o (C:\Users\admin\AppData\Roaming\npm\node_modules\webfont\node_modules\svg-pathdata\lib\SVGPathData.cjs:15:1645)
    at Object.t.ROUND (C:\Users\admin\AppData\Roaming\npm\node_modules\webfont\node_modules\svg-pathdata\lib\SVGPathData.cjs:15:5996)
 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions