Skip to content

Commit

Permalink
Merge 7efa354 into 8e6b0a2
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jun 13, 2020
2 parents 8e6b0a2 + 7efa354 commit 0d91d63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Expand Up @@ -16,7 +16,8 @@ var exclusions = ['--help', '--completion_bash'];
// This number must be incremented whenever the generated cache file changes.
var CACHE_VERSION = 2;

var configfile = '.v8flags-' + CACHE_VERSION + '-' + process.versions.v8 + '.' + crypto.createHash('md5').update(user).digest('hex') + '.json';
var configfile = '.v8flags-' + CACHE_VERSION + '-' + process.versions.v8 +
'.' + crypto.createHash('sha256').update(user).digest('hex') + '.json';

var failureMessage = [
'Unable to cache a config file for v8flags to your home directory',
Expand Down

0 comments on commit 0d91d63

Please sign in to comment.