Skip to content

Commit f57eeba

Browse files
committed
Leave the classpath out of the untrusted-project message
The message said that a trusted project is required to load the external formatter classpath, which only the Java-based formatter does. Users of the native binary got it too, since the trust check comes before the formatter is chosen. It now says that open-java-format requires a trusted project to run its formatter.
1 parent d00e3d5 commit f57eeba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij

‎open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/Notifications.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static String parsingErrorMessage(String filename) {
2828
}
2929

3030
static String untrustedProjectMessage() {
31-
return "open-java-format requires a trusted project to load the external formatter classpath.";
31+
return "open-java-format requires a trusted project to run its formatter.";
3232
}
3333

3434
static String formatterFailedMessage(String filename) {

0 commit comments

Comments
 (0)