Skip to content

Commit 4e47d05

Browse files
committed
Merge pull request #593 from pascalberger/RemoteErrorMessage
Add generic error message if more than one remote is found
2 parents cb056ec + 17f3c47 commit 4e47d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionCore/BuildServers/GitHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static Remote EnsureOnlyOneRemoteIsDefined(IRepository repo)
306306
return remote;
307307
}
308308

309-
var message = string.Format("{0} remote(s) have been detected. When being run on a TeamCity agent, the Git repository is expected to bear one (and no more than one) remote.", howMany);
309+
var message = string.Format("{0} remote(s) have been detected. When being run on a build server, the Git repository is expected to bear one (and no more than one) remote.", howMany);
310310
throw new WarningException(message);
311311
}
312312
}

0 commit comments

Comments
 (0)