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
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Hey @julianpitt! This will be fully fixed by #870 since all scripts are now in nodejs and we no longer do any juggling with temporary directories or absolute paths in bash!
Describe the bug
Running
pnpm build
in a directory that contains spaces in the path will cause the typesafe-api generate task to fail.Expected Behavior
The previous output is from a project without a space in the directory, the openapi file is parsed correctly and the build continues.
Current Behavior
The following terminal output occurs when there is a space in the directory name. Then the build fails
Reproduction Steps
pnpm build
Possible Solution
The generate task parsing script may have an error at the following line or above
aws-pdk/packages/type-safe-api/scripts/type-safe-api/parser/parse-openapi-spec
Line 16 in 6fc5ca1
Additional Information/Context
No response
PDK version used
0.23.16
What languages are you seeing this issue on?
No response
Environment details (OS name and version, etc.)
MacOS 14.5, OpenJDK Runtime Environment Corretto-17.0.11.9.1, pnpm 8.15.8, (build 17.0.11+9-LTS), npm 10.7.0, node 18.20.3
The text was updated successfully, but these errors were encountered: