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
Major version 36 of gitbeaker contains changes to the type system and the structure of the framework.
Moved to gitbeaker/rest which is the expected package to consume going forward, and adjusted our usage of the types to match the changes in the framework.
Additionally gitbeaker now leverages native-fetch under the hood which nock does not support. Version 4.0.0 of nock in beta can handle testing native-fetch, but does not yet support recording fixtures. To continue using nock for testing without updating to the beta-version, a fetch polyfill has been introduced to use for the gitlab api tests.
@@ -74,7 +72,7 @@ if (program.args.length === 0) {
74
72
process.exitCode=1
75
73
}else{
76
74
constcustomHost=
77
-
process.env["DANGER_GITHUB_HOST"]||process.env["DANGER_BITBUCKETSERVER_HOST"]||gitLabApiCredentials.host// this defaults to https://gitlab.com
75
+
process.env["DANGER_GITHUB_HOST"]||process.env["DANGER_BITBUCKETSERVER_HOST"]||getGitLabHostFromEnv(process.env)// This defaults to https://www.gitlab.com
78
76
79
77
// Allow an ambiguous amount of args to find the PR reference
0 commit comments