We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c10efcc commit 08458dfCopy full SHA for 08458df
pkg/cmd/dev.go
@@ -264,7 +264,8 @@ func runDevMode(ctx context.Context, cmd *cli.Command) error {
264
265
gitUser, err := getGitUsername()
266
if err != nil {
267
- return fmt.Errorf("failed to get git username: %v", err)
+ Warn("Couldn't get a git user: %s", err)
268
+ gitUser = "user"
269
}
270
271
var selectedBranch string
@@ -416,11 +417,3 @@ func getCurrentGitBranch() (string, error) {
416
417
418
return branch, nil
419
-
420
421
422
423
424
425
426
0 commit comments