Commit cac888e
committed
List the JBang fix on Migrate
The JBang change of 2.98.0.5 goes on the list as the bug fix it is,
although code that palantir-java-format has already formatted keeps its
"// DEPS" and does not move: whoever migrates JBang scripts needs to
know. The formatter handled a script's header wrongly. The space after
the slashes hid //DEPS and the other directives from JBang, and the
first line no longer ran from a shell. The item says so, links the JBang
page, and says that spaces an earlier run added have to be removed by
hand.
The corpus paragraph now says the JBang fix changes nothing in the JDK
21 sources, which formatted identically with and without it when the fix
was made (openjavaformat/open-java-format#91).
The GitHub Action page gives 2.98.0.5 as the default of the version
input, as the action's main branch now does
(openjavaformat/open-java-format-action@80a52bb).1 parent fe294a5 commit cac888e
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | | - | |
37 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
0 commit comments