Skip to content

Commit

Permalink
Merge pull request #631 from vgprst/fix/option-manipulation
Browse files Browse the repository at this point in the history
fix: fix options manipulation
  • Loading branch information
smorimoto authored May 5, 2024
2 parents 33d0c5a + 72f48e0 commit 7413b52
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 7413b52

Please sign in to comment.