diff options
| author | ruki <[email protected]> | 2022-01-04 22:43:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-04 22:43:33 +0800 |
| commit | 645c16057e2bc6c643d43af8dc29ccd76b1a480f (patch) | |
| tree | 5fb432ec0f65928e9c44ad025d88085d605a96fa | |
| parent | 19c7311b0427ff88cd679a9e75c76f9f686d3c43 (diff) | |
Update main.lua
| -rw-r--r-- | xmake/actions/config/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index dcf5986dc..23ef3fe43 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -316,7 +316,8 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- merge configuration from the given import file local importfile = option.get("import") - if importfile and os.isfile(importfile) then + if importfile then + assert(os.isfile(importfile), "%s not found!", importfile) if config.load(importfile) then options_changed = true end |
