openscad-format
openscad-format copied to clipboard
Fails to format a very simple file correctly
Steps to reproduce
- Create a docker image with openscad-format in it from a
Dockerfile:
FROM node:alpine
RUN npm install -g openscad-format
- Make an OpenSCAD file called
test.scad:
module test() {}
- Use openscad-format from inside the docker container:
openscad-format -i path/to/test.scad --force
Expected output (obviously formatting config dependent)
module test()
{
}
Actual output
module
test()
{
}
Issue
The keyword module and the name of the module are on different lines.