You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating code on Windows, import paths ends up with Windows path separators: import * as com_foo_core_thrift from "./..\\..\\..\\..\\core\\thrift";.
This works in Windows, but breaks for anyone trying to run the code somewhere else.
If it was normalized to import * as com_foo_core_thrift from "./../../../../core/thrift"; it would work everywhere.
When generating code on Windows, import paths ends up with Windows path separators:
import * as com_foo_core_thrift from "./..\\..\\..\\..\\core\\thrift";
.This works in Windows, but breaks for anyone trying to run the code somewhere else.
If it was normalized to
import * as com_foo_core_thrift from "./../../../../core/thrift";
it would work everywhere.I guess this is the culprit:
https://github.com/creditkarma/thrift-typescript/blob/master/src/main/render/shared/includes.ts#L223-L231
The text was updated successfully, but these errors were encountered: