Home
last modified time | relevance | path

Searched refs:metricsFile (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/lib/utils/
Dmetrics.js33 var metricsFile = path.join(npm.config.get('cache'), 'anonymous-cli-metrics.json')
36 metrics = JSON.parse(fs.readFileSync(metricsFile))
55 cacheFile.write(metricsFile, JSON.stringify(metrics))
61 function sendMetrics (metricsFile, metricsRegistry) { argument
63 var cliMetrics = JSON.parse(fs.readFileSync(metricsFile))
74 fs.unlinkSync(metricsFile)
76 cacheFile.write(path.join(path.dirname(metricsFile), 'last-send-metrics-error.txt'), err.stack)
Dmetrics-launch.js36 var metricsFile = process.argv[2]
39 sendMetrics(metricsFile, metricsRegistry)
/third_party/node/deps/npm/test/tap/
Danon-cli-metrics.js17 var metricsFile = path.join(cachedir, 'anonymous-cli-metrics.json') variable
103 var data = JSON.parse(fs.readFileSync(metricsFile))
121 var data = JSON.parse(fs.readFileSync(metricsFile))
140 var data = JSON.parse(fs.readFileSync(metricsFile))