-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extends ts gen cmd args: url(base url) and body(custom http request body). #4630
base: master
Are you sure you want to change the base?
Conversation
@@ -18,9 +16,6 @@ func genRequest(dir string) error { | |||
} | |||
|
|||
filename := filepath.Join(abs, "gocliRequest.ts") | |||
if pathx.FileExists(filename) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why to remove the existance check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let gocliRequest.ts allways new.
Also, please remove the unused variables. |
ok. |
extends ts gen cmd args: url(base url) and body(custom http request body).