Skip to content

Commit ff3deac

Browse files
committed
Fix compilation error in DevelopmentServer
1 parent 946036d commit ff3deac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/trino-server-dev/src/main/java/io/trino/server/DevelopmentServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected Iterable<? extends Module> getAdditionalModules()
4545

4646
// Use a temporary directory to satisfy configuration validation
4747
configBinder(binder).bindConfigDefaults(ServerPluginsProviderConfig.class, config ->
48-
config.setInstalledPluginsDirs(ImmutableList.of(pluginPath.toFile())));
48+
config.setInstalledPluginsDirs(ImmutableList.of(pluginPath)));
4949

5050
closingBinder(binder).registerCloseable(() -> Files.deleteIfExists(pluginPath));
5151
});

0 commit comments

Comments
 (0)