Actually store the cached contents of a file.

Big Beautiful Arrows
This commit is contained in:
probablycorey
2013-10-17 10:39:23 -07:00
parent 6e93c37ce1
commit 747b79cced

View File

@@ -95,7 +95,7 @@ class File
else
promise = Q(@cachedContents)
promise.then (contents) ->
promise.then (contents) =>
@cachedContents = contents
# Public: Returns whether a file exists.