mike7515 / code-beautifier

MIT License
19 stars 5 forks source link

Beautifier.ts: beautify.options type is a 'number' #18

Closed rj-xy closed 6 years ago

rj-xy commented 6 years ago

The configuration for beautify.options should NOT be a number

const options = vscode.workspace.getConfiguration('beautify').get<number>("options");

https://github.com/tierratelematics/code-beautifier/blob/c62dae6d3b34acea8b43b23f917f86001ddd3961/src/Beautifier.ts#L5

mike7515 commented 6 years ago

Fixed in 2.1.0 version