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.
2 parents b3d34e3 + cb4cde1 commit 04ed744Copy full SHA for 04ed744
src/githubHelper.ts
@@ -1382,7 +1382,7 @@ export class GithubHelper {
1382
line = position.old_line;
1383
}
1384
const crypto = require('crypto');
1385
- const hash = crypto.createHash('md5').update(path).digest('hex');
+ const hash = crypto.createHash('sha256').update(path).digest('hex');
1386
slug = `#diff-${hash}${side}${line}`;
1387
1388
// Mention the file and line number. If we can't get this for some reason then use the commit id instead.
0 commit comments