We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa64dea commit af33680Copy full SHA for af33680
danger/dangerfile.js
@@ -194,7 +194,7 @@ async function CheckFromExternalChecks() {
194
if (extraDangerFilePath) {
195
try {
196
const workspaceDir = '/github/workspace';
197
- const customPath = `${workspaceDir}${extraDangerFilePath}`;
+ const customPath = `${workspaceDir}/${extraDangerFilePath}`;
198
199
if (extraDangerFilePath.indexOf('..') !== -1) {
200
fail(`Invalid dangerfile path: ${customPath}. Path traversal is not allowed.`);
0 commit comments