Skip to content

Commit

Permalink
missing format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Oct 27, 2019
1 parent 49b28e8 commit 41376b1
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
extOverrides.put(key, extOverrideObject);
}
}

theRest = overridesObject;
} catch (IOException e) {
throw new MojoExecutionException("Failed to read " + overridesFile, e);
Expand Down Expand Up @@ -176,15 +176,15 @@ public void execute() throws MojoExecutionException, MojoFailureException {
platformJson.add("extensions", extListJson.build());

theRest.forEach((key, item) -> {
// Ignore the two keys we are explicitly managing
// but then add anything else found.
// TODO: make a real merge if needed eventually.
if(!"bom".equals(key) && !"extensions".equals(key)) {
platformJson.add(key, item);
// Ignore the two keys we are explicitly managing
// but then add anything else found.
// TODO: make a real merge if needed eventually.
if (!"bom".equals(key) && !"extensions".equals(key)) {
platformJson.add(key, item);

}
});

// Write the JSON to the output file
final File outputDir = outputFile.getParentFile();
if (!outputDir.exists()) {
Expand Down

0 comments on commit 41376b1

Please sign in to comment.