Skip to content

Conversation

@appleboy
Copy link
Owner

  • Change the go keyword to gofmt in line 259
  • Add a new function hostPort to the Plugin struct
  • Modify the hostPort function to set the port if it is specified in the host string
  • Add 2 tests for hostPort function to plugin_test.go

ref appleboy/scp-action#98

- Change the `go` keyword to `gofmt` in line 259
- Add a new function `hostPort` to the `Plugin` struct
- Modify the `hostPort` function to set the port if it is specified in the host string
- Add 2 tests for `hostPort` function to `plugin_test.go`

Signed-off-by: Bo-Yi.Wu <[email protected]>
@appleboy appleboy merged commit c663c07 into master Apr 16, 2023
@appleboy appleboy deleted the feat branch April 16, 2023 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants