Skip to content

Commit f8f15ab

Browse files
committed
Make it serializable
1 parent a5a0e52 commit f8f15ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flow-server/src/main/java/com/vaadin/flow/server/frontend/FrontendTools.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import java.io.File;
1919
import java.io.IOException;
20+
import java.io.Serializable;
2021
import java.net.URI;
2122
import java.nio.file.Path;
2223
import java.nio.file.Paths;
@@ -182,7 +183,8 @@ String getScript() {
182183
* npm version string (e.g., "11.3.0")
183184
*/
184185
private record ActiveNodeInstallation(String nodeExecutable,
185-
String nodeVersion, String npmCliScript, String npmVersion) {
186+
String nodeVersion, String npmCliScript,
187+
String npmVersion) implements Serializable {
186188
ActiveNodeInstallation {
187189
Objects.requireNonNull(nodeExecutable);
188190
Objects.requireNonNull(nodeVersion);

0 commit comments

Comments
 (0)