You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be replaced with the real GUN if it gets mapped, but if not
we'll get a truly unique path
GitOrigin-RevId: 0eaaa13a87dd63ac7240d9b5de1f5a64bd4fe2c7
// Detect the repository URL if it wasn't provided
105
+
repoUrl:=viper.GetString("repo")
106
+
ifrepoUrl=="" {
107
+
repoUrl, err=DetectRepoURL(AllDetectors)
108
+
iferr!=nil {
109
+
log.WithContext(ctx).WithError(err).WithFields(lf).Debug("Failed to detect repository URL. Use the --repo flag to specify it manually if you require it")
// Detect the repository URL if it wasn't provided
140
-
repoUrl:=viper.GetString("repo")
141
-
ifrepoUrl=="" {
142
-
repoUrl, err=DetectRepoURL(AllDetectors)
143
-
iferr!=nil {
144
-
log.WithContext(ctx).WithError(err).WithFields(lf).Debug("Failed to detect repository URL. Use the --repo flag to specify it manually if you require it")
0 commit comments