-
-
Notifications
You must be signed in to change notification settings - Fork 828
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
Redirect to browser after build #535
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #535 +/- ##
==========================================
- Coverage 64.79% 64.06% -0.73%
==========================================
Files 10 10
Lines 1156 1166 +10
==========================================
- Hits 749 747 -2
- Misses 327 338 +11
- Partials 80 81 +1 ☔ View full report in Codecov by Sentry. |
@@ -2,6 +2,7 @@ package runner | |||
|
|||
import ( | |||
"fmt" | |||
"github.com/pkg/browser" |
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.
You are advised to change the dependency location according to the following rules:
- Official dependence.
- External dependencies
- Internal dependencies
@@ -20,6 +20,7 @@ require ( | |||
github.com/mattn/go-colorable v0.1.13 // indirect | |||
github.com/mattn/go-isatty v0.0.17 // indirect | |||
github.com/pelletier/go-toml/v2 v2.0.6 // indirect | |||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect |
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.
It seems to me that this project package, which has not been maintained for quite some time, may need to be considered for using this package
AppUrl
is used to open browser URL when the build is finished.AppUrlOpenDelay
waits when server is ready to accept requests.