Skip to content

Commit

Permalink
fix: fix options manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
vgprst authored and smorimoto committed May 5, 2024
1 parent 007b577 commit 72f48e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const main = async () => {
...options,
name: options.name,
url: options.path,
generateRouteTypes: options.routeTypes,
generateRouteTypes: options.generateRouteTypes,
generateClient: !!(options.axios || options.client),
httpClientType: options.axios ? HTTP_CLIENT.AXIOS : HTTP_CLIENT.FETCH,
input: resolve(process.cwd(), options.path),
Expand Down

0 comments on commit 72f48e0

Please sign in to comment.