Skip to content

Commit 17f3c47

Browse files
author
Pascal Berger
committed
Add generic error message if more than one remote is found since this does not only apply for TeamCity
1 parent cb056ec commit 17f3c47

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)