Skip to content

Commit 7fc0a96

Browse files
committed
Fix test failures and improve implementation
1 parent 2d73676 commit 7fc0a96

File tree

4 files changed

+441
-93
lines changed

4 files changed

+441
-93
lines changed

artifactory/commands/ide/jetbrains/jetbrains.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ func (jc *JetbrainsCommand) Run() error {
132132
func (jc *JetbrainsCommand) validateRepository() error {
133133
log.Info("Validating repository...")
134134

135+
if jc.serverDetails == nil {
136+
return fmt.Errorf("server details not configured")
137+
}
138+
135139
artDetails, err := jc.serverDetails.CreateArtAuthConfig()
136140
if err != nil {
137141
return fmt.Errorf("failed to create auth config: %w", err)

0 commit comments

Comments
 (0)