Skip to content

Commit

Permalink
fix(Telemetry): Do not share telemetry cache folder with old versions
Browse files Browse the repository at this point in the history
Fixes the issue for global to local fallback case, where older global which send cache on every command was sending same telemetry as local
  • Loading branch information
medikoo committed May 4, 2021
1 parent 2c2c77f commit ae9442e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/telemetry/cache-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const os = require('os');
module.exports = (() => {
const resolvedHomeDir = os.homedir();
if (!resolvedHomeDir) return null;
return path.resolve(resolvedHomeDir, '.serverless', 'analytics-cache');
return path.resolve(resolvedHomeDir, '.serverless', 'telemetry-cache');
})();

0 comments on commit ae9442e

Please sign in to comment.