Commit 4c141f0db39b29aac737d4edfe28b3d18cbd3ff8

Authored by Adhidarma Hadiwinoto
1 parent 8d1f7a2fef
Exists in master

remove double hashing on machineid

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -7,10 +7,10 @@ const sha1 = require('sha1');
7 7  
8 8 const matrix = {
9 9 //host_id: {}
10   - machineid_hashed: sha1('KOMODO' + machineid.machineIdSync())
  10 + machineid: machineid.machineIdSync()
11 11 };
12 12  
13   -matrix.machineid_hashed_readable = matrix.machineid_hashed.match(/.{1,4}/g).join('-');
  13 +matrix.machineid_readable = matrix.machineid.match(/.{1,4}/g).join('-');
14 14  
15 15 // get active git version
16 16 simpleGit(process.cwd()).raw(