From 7ce0feacfd7602909f1b6b51e0c87b6efde36f55 Mon Sep 17 00:00:00 2001 From: Peter Donovan Date: Thu, 20 Jun 2024 15:41:00 -0700 Subject: [PATCH] Add comment --- core/src/main/java/org/lflang/generator/LFGenerator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/org/lflang/generator/LFGenerator.java b/core/src/main/java/org/lflang/generator/LFGenerator.java index 0e62c08c2c..8ca19d67cf 100644 --- a/core/src/main/java/org/lflang/generator/LFGenerator.java +++ b/core/src/main/java/org/lflang/generator/LFGenerator.java @@ -60,6 +60,8 @@ public static FileConfig createFileConfig( case Python -> new PyFileConfig(resource, srcGenBasePath, useHierarchicalBin); case CPP -> new CppFileConfig(resource, srcGenBasePath, useHierarchicalBin); case Rust -> new RustFileConfig(resource, srcGenBasePath, useHierarchicalBin); + // null is passed to the docker argument because it is up to the TS Generator to tell the + // FileConfig whether Docker is enabled case TS -> new TSFileConfig(resource, srcGenBasePath, useHierarchicalBin, null); }; } catch (IOException e) {