Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyry committed Jan 11, 2025
1 parent 7398f93 commit c7d9536
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ private static void setConfig(
config.setParameter("disable-upload", System.getenv("GUAC_DISABLE_UPLOAD"));

String serverLayout = System.getenv("GUAC_SERVER_LAYOUT");
if (serverLayout != null)
if (!serverLayout.isEmpty())
config.setParameter("server-layout", serverLayout);
if (serverLayout != null) {
if (!serverLayout.isEmpty()) {
config.setParameter("server-layout", serverLayout);
}
}
}

private static JSONArray getVMsFromProjectAPI(final AzureTREAuthenticatedUser user) throws GuacamoleException {
Expand Down

0 comments on commit c7d9536

Please sign in to comment.