diff options
| author | ruki <[email protected]> | 2017-05-25 17:34:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-25 17:34:46 +0800 |
| commit | bdd4bc65590cc9e36b1d3d1064336fdc3b4595a8 (patch) | |
| tree | b6181a03de19358016cc0203894920cb61ec897c | |
| parent | 3b730eeaa626c66ca38e66f4046e51e21d8a2204 (diff) | |
fix load history module
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/cache.lua | 2 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/history.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/cache.lua b/xmake/core/sandbox/modules/import/core/project/cache.lua index 7ae7a4303..4d2879c09 100644 --- a/xmake/core/sandbox/modules/import/core/project/cache.lua +++ b/xmake/core/sandbox/modules/import/core/project/cache.lua @@ -22,7 +22,7 @@ -- @file cache.lua -- --- define module +-- define module, @note cannot be cached, a new instance in each sandbox module local sandbox_core_project_cache = {} -- load modules diff --git a/xmake/core/sandbox/modules/import/core/project/history.lua b/xmake/core/sandbox/modules/import/core/project/history.lua index b205afdf9..c19607f88 100644 --- a/xmake/core/sandbox/modules/import/core/project/history.lua +++ b/xmake/core/sandbox/modules/import/core/project/history.lua @@ -22,8 +22,8 @@ -- @file history.lua -- --- define module -local sandbox_core_project_history = sandbox_core_project_history or {} +-- define module, @note cannot be cached, a new instance in each sandbox module +local sandbox_core_project_history = {} -- load modules local os = require("base/os") |
