Skip to content

Commit

Permalink
Bump version number for cache file
Browse files Browse the repository at this point in the history
Now that the schema has changed (added fts table), we need to start
with a fresh cache.

Fixes #416
  • Loading branch information
trotzig committed Jun 7, 2017
1 parent 2682e00 commit a06d3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const DEFAULT_CONFIG = {
cacheLocation: ({ config }: Object): string => {
const hash = crypto
.createHash('md5')
.update(`${config.workingDirectory}-v2`)
.update(`${config.workingDirectory}-v3`)
.digest('hex');
return path.join(os.tmpdir(), `import-js-${hash}.db`);
},
Expand Down

0 comments on commit a06d3cc

Please sign in to comment.