ldlac/google-java-format-atom

Spaces in directory names aren't handled

Closed this issue · 0 comments

When opening a Java file that has a space somewhere in the path. For example, when dealing with a file /tmp/example dir/File.java the formatter fails with:

Skipping non-Java file: /tmp/example
dir/File.java: could not read file: dir/File.java

It should be a simple fix of quoting the file path argument when invoking the formatter. LMK what I can do to help.