We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3fcc7 commit 184573aCopy full SHA for 184573a
lib-extra/src/main/java/com/diffplug/spotless/extra/integration/DiffMessageFormatter.java
@@ -102,7 +102,6 @@ public Charset getEncoding() {
102
103
@Override
104
public String getFormatted(File file, String rawUnix) {
105
- Path relative = rootDir.relativize(file.toPath());
106
Path clean = cleanDir.resolve(rootDir.relativize(file.toPath()));
107
byte[] content = Errors.rethrow().get(() -> Files.readAllBytes(clean));
108
return new String(content, encoding);
0 commit comments