Track coffee cache hits correctly

This commit is contained in:
Kevin Sawicki
2015-01-23 10:58:49 -08:00
parent db41b022c2
commit 6b963a562f

View File

@@ -26,7 +26,7 @@ getCachedJavaScript = (cachePath) ->
if fs.isFileSync(cachePath)
try
cachedJavaScript = fs.readFileSync(cachePath, 'utf8')
stats.misses++
stats.hits++
return cachedJavaScript
return