Skip to content

Commit 039357e

Browse files
use gh workspace path
1 parent 127b43d commit 039357e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

danger/dangerfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ async function CheckFromExternalChecks() {
197197
if (customPath) {
198198
try {
199199

200-
const extraModule = require("./" + customPath);
200+
const extraModule = require(`/github/workspace/${customPath}`);
201201

202202
if (typeof extraModule === "function") {
203203
await extraModule({

0 commit comments

Comments
 (0)