We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1d903 commit cb4cde1Copy full SHA for cb4cde1
src/githubHelper.ts
@@ -1381,7 +1381,7 @@ export class GithubHelper {
1381
line = position.old_line;
1382
}
1383
const crypto = require('crypto');
1384
- const hash = crypto.createHash('md5').update(path).digest('hex');
+ const hash = crypto.createHash('sha256').update(path).digest('hex');
1385
slug = `#diff-${hash}${side}${line}`;
1386
1387
// Mention the file and line number. If we can't get this for some reason then use the commit id instead.
0 commit comments