Closed egtann closed 6 months ago
The following resulted in a path being added with t.Add(m../my/dir{}), causing compile-time bugs in the generated Go file:
t.Add(m../my/dir{})
find ./my/dir -name '*.go' -print0 | xargs -0 tscriptify -package mypackage/my/dir -target=file.ts
The change ensures that if any struct has a filepath separator, we skip it.
The following resulted in a path being added with
t.Add(m../my/dir{})
, causing compile-time bugs in the generated Go file:The change ensures that if any struct has a filepath separator, we skip it.