mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Track coffee cache hits correctly
This commit is contained in:
@@ -26,7 +26,7 @@ getCachedJavaScript = (cachePath) ->
|
||||
if fs.isFileSync(cachePath)
|
||||
try
|
||||
cachedJavaScript = fs.readFileSync(cachePath, 'utf8')
|
||||
stats.misses++
|
||||
stats.hits++
|
||||
return cachedJavaScript
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user