diff options
| author | ruki <[email protected]> | 2017-07-19 23:52:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-19 23:52:30 +0800 |
| commit | f8bd23369f5a3fd8d8cec2775bed850379be335a (patch) | |
| tree | 4caca60c00fbdcb3381c6d8ecbc79974c6c86bcb | |
| parent | 9d13bbd984bf71f95b0798d928ebee69e9719a29 (diff) | |
fix options_history
| -rw-r--r-- | xmake/actions/config/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 8fd496e7f..1a04e0942 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -198,7 +198,7 @@ function main() local options_changed = false local options_history = {} if not option.get("clean") then - options_history = cache.get("options_" .. targetname) + options_history = cache.get("options_" .. targetname) or {} options = options or options_history end for name, value in pairs(options) do |
