Skip to content

Commit

Permalink
remove changes
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Jul 11, 2023
1 parent 95c50dd commit 7e5d0d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ private Filer scratchFiler() throws IOException {
private Optional<Path> codegenResourceFilerOut(String outPath,
String body,
Optional<Function<InputStream, String>> optFnUpdater) {
outPath = outPath.replace("\\", "/");
Messager messager = messager();
if (!filerWriterEnabled()) {
messager.log("(disabled) Writing " + outPath + " with:\n" + body);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import java.util.List;
import java.util.Map;

import io.helidon.build.common.Strings;
import io.helidon.builder.api.Prototype;
import io.helidon.common.types.TypeName;

Expand Down Expand Up @@ -270,7 +271,7 @@ private static String cleanModuleAnnotations(String moduleText) {
// ignored, we cannot get an exception when closing string reader
}

return response.toString();
return Strings.normalizeNewLines(response.toString());
}

private static String cleanLine(String line) {
Expand Down

0 comments on commit 7e5d0d9

Please sign in to comment.