diff --git a/pkg/codegen/nodejs/gen.go b/pkg/codegen/nodejs/gen.go index 9dcfb37dd077..179f87d0a7c9 100644 --- a/pkg/codegen/nodejs/gen.go +++ b/pkg/codegen/nodejs/gen.go @@ -1463,9 +1463,7 @@ func (mod *modContext) genHeader(w io.Writer, imports []string, externalImports sort.Strings(modules) for _, module := range modules { - // var modulePath = path.Join(mod.getRelativePath(), module) fmt.Fprintf(w, "import { ") - // TODO: Add use the relative root here instead of just .. for i, name := range importedTypes[module].SortedValues() { if i > 0 { fmt.Fprint(w, ", ") @@ -1473,10 +1471,6 @@ func (mod *modContext) genHeader(w io.Writer, imports []string, externalImports fmt.Fprint(w, name) } fmt.Fprintf(w, " } from \"%s\";\n", module) - fmt.Fprintf(w, "\n// module = %s\n", module) - fmt.Fprintf(w, "\n// base = %s\n", path.Base(module)) - fmt.Fprintf(w, "\n// mod.mod = %s\n", mod.mod) - // fmt.Fprintf(w, "\n// modulePath = %s\n", modulePath) } fmt.Fprintf(w, "\n") }