Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Nov 19, 2023
1 parent 13501cb commit b3f1e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/jbang/net/TrustedSources.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public boolean isURLTrusted(URI url) throws URISyntaxException {
}

URI parsedTrustedSource;
if (trustedSource.startsWith("https://")||trustedSource.startsWith("http://")) {
if (trustedSource.startsWith("https://") || trustedSource.startsWith("http://")) {
parsedTrustedSource = new URI(trustedSource);
if (!url.getScheme().equals(parsedTrustedSource.getScheme())) {
continue;
Expand Down

0 comments on commit b3f1e8a

Please sign in to comment.