Merge pull request #1496 from polarsquad/fix-git-commit-id

Make gitGraph commit IDs out of hexadecimal chars
This commit is contained in:
Knut Sveidqvist 2020-07-12 11:22:19 +02:00 committed by GitHub
commit 2bdc229a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ let seq = 0;
function makeid(length) {
var result = '';
var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
var characters = '0123456789abcdef';
var charactersLength = characters.length;
for (var i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * charactersLength));