Skip to content

Commit 8935b2f

Browse files
committed
Stops using deprecated methods
1 parent 3c0970c commit 8935b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/runner/jsonToDSL.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const apiForDSL = (dsl: DangerDSLJSONType): GitHubNodeAPI | BitBucketServerAPI =
4949
}
5050

5151
const api = new GitHubNodeAPI({
52-
host: dsl.settings.github.baseURL,
52+
baseUrl: dsl.settings.github.baseURL,
5353
headers: {
5454
...dsl.settings.github.additionalHeaders,
5555
},

0 commit comments

Comments
 (0)