Skip to content

Commit af33680

Browse files
use
1 parent aa64dea commit af33680

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
@@ -194,7 +194,7 @@ async function CheckFromExternalChecks() {
194194
if (extraDangerFilePath) {
195195
try {
196196
const workspaceDir = '/github/workspace';
197-
const customPath = `${workspaceDir}${extraDangerFilePath}`;
197+
const customPath = `${workspaceDir}/${extraDangerFilePath}`;
198198

199199
if (extraDangerFilePath.indexOf('..') !== -1) {
200200
fail(`Invalid dangerfile path: ${customPath}. Path traversal is not allowed.`);

0 commit comments

Comments
 (0)