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
Describe the bug
v2.2.0 cli uses wrong path separator on windows like this: src\controllers\system\health\getHealth.queries.ts
It creates the folder including \.
Expected behavior
Create correct path folder as same as v2.1.0 cli.
This is happened after update v2.2.0.
Test case
My environment is typescript v5.0.4, @pgtyped/runtime v2.1.0 @pgtyped/cli v2.2.0 as latest on node v18.15.0.
> pgtyped -w -c pgTyped.config.json
Saved 1 query types from src\controllers\system\health\getHealth.sql to src\controllers\system\health\getHealth.queries.ts
I used v.2.1.0 package with typescript v5 withnpm i -f option to ignore engines error.
So only cli package version is changed from normal case project.
Thank you.
The text was updated successfully, but these errors were encountered:
This should be fixed in v2.2.1.
Unfortunately I don't have a Windows machine to test and our testing pipeline relies on Docker which is unsupported on Windows.
If the issue persists, please reopen.
Describe the bug
v2.2.0 cli uses wrong path separator on windows like this:
src\controllers\system\health\getHealth.queries.ts
It creates the folder including
\
.Expected behavior
Create correct path folder as same as v2.1.0 cli.
This is happened after update v2.2.0.
Test case
My environment is
typescript
v5.0.4,@pgtyped/runtime
v2.1.0@pgtyped/cli
v2.2.0 as latest on node v18.15.0.I used v.2.1.0 package with typescript v5 with
npm i -f
option to ignore engines error.So only cli package version is changed from normal case project.
Thank you.
The text was updated successfully, but these errors were encountered: