mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Actually store the cached contents of a file.
Big Beautiful Arrows
This commit is contained in:
@@ -95,7 +95,7 @@ class File
|
||||
else
|
||||
promise = Q(@cachedContents)
|
||||
|
||||
promise.then (contents) ->
|
||||
promise.then (contents) =>
|
||||
@cachedContents = contents
|
||||
|
||||
# Public: Returns whether a file exists.
|
||||
|
||||
Reference in New Issue
Block a user