Skip to content

Commit b357bf2

Browse files
committed
Fixed paddedCell for the CYCLE case.
1 parent c18a511 commit b357bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/java/com/diffplug/spotless/PaddedCellBulk.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public static List<File> check(File rootDir, File diagnoseDir, Formatter formatt
151151
} else {
152152
// if the input is resolvable, we'll use that to try again at
153153
// determining if it's clean
154-
paddedCellStep.set(problemFile, padded.steps().get(0));
154+
paddedCellStep.set(problemFile, padded.canonical());
155155
if (!paddedFormatter.isClean(problemFile)) {
156156
stillFailing.add(problemFile);
157157
}

0 commit comments

Comments
 (0)