Skip to content

Commit

Permalink
Missing from #1442 - NPE's in older adapters.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 9, 2023
1 parent 53605f0 commit 77b77f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public String format(final String text, Path path, final boolean isScript,
userData,
formatterCallback,
isScript,
editorConfigPath.toFile().getAbsolutePath(),
editorConfigPath == null ? null : editorConfigPath.toFile().getAbsolutePath(),
false));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public String format(final String text, Path path, final boolean isScript,
userData,
formatterCallback,
isScript,
editorConfigPath.toFile().getAbsolutePath(),
editorConfigPath == null ? null : editorConfigPath.toFile().getAbsolutePath(),
false,
editorConfigOverride,
false));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public String format(final String text, Path path, final boolean isScript,
userData,
formatterCallback,
isScript,
editorConfigPath.toFile().getAbsolutePath(),
editorConfigPath == null ? null : editorConfigPath.toFile().getAbsolutePath(),
false,
editorConfigOverride,
false));
Expand Down

0 comments on commit 77b77f7

Please sign in to comment.