diff options
| author | ruki <[email protected]> | 2016-04-09 20:11:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-04-09 20:11:34 +0800 |
| commit | 71296f55db2d5b0a9249592c3428797708cd0683 (patch) | |
| tree | 4e214293f83204be13d9e8e9bbeda78557fe781b /xmake/core/project/cache.lua | |
| parent | a684950c450b7490f3a95c2200cd1943a30a4272 (diff) | |
remove instace:interfaces for cache module
Diffstat (limited to 'xmake/core/project/cache.lua')
| -rw-r--r-- | xmake/core/project/cache.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/core/project/cache.lua b/xmake/core/project/cache.lua index 78eb6a188..9a7491aed 100644 --- a/xmake/core/project/cache.lua +++ b/xmake/core/project/cache.lua @@ -101,10 +101,7 @@ end function cache:flush() -- save to file - local ok, errors = io.save(self._CACHEPATH, self._CACHEDATA) - if not ok then - os.raise(errors) - end + return io.save(self._CACHEPATH, self._CACHEDATA) end -- return module |
