Skip to content

Commit 8c62a42

Browse files
load path
1 parent ccf73eb commit 8c62a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

danger/dangerfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ async function CheckFromExternalChecks() {
194194
if (extraDangerFilePath) {
195195
try {
196196
const workspaceDir = '/github/workspace';
197+
const path = require('path');
197198
const customPath = path.join('/github/workspace', extraDangerFilePath);
198199

199200
if (!customPath.startsWith(workspaceDir)) {

0 commit comments

Comments
 (0)