diff options
| author | ruki <[email protected]> | 2015-06-17 12:38:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-17 12:38:41 +0800 |
| commit | dda38bb51d261f058706ada91fdf8b03701bd2e5 (patch) | |
| tree | 667734bc5dbc3e535833fb960b19cfec90404262 /xmake/scripts/base/project.lua | |
| parent | 95798306093295a45c8f8671ca2f18edb16f796e (diff) | |
add excludes pattern for files
Diffstat (limited to 'xmake/scripts/base/project.lua')
| -rw-r--r-- | xmake/scripts/base/project.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index 41b754a45..e8769d57b 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -1074,13 +1074,11 @@ function project.menu() local projectfile = xmake._PROJECT_FILE if projectfile and os.isfile(projectfile) then configs, errors = project._load_options(projectfile) - else - errors = string.format("load %s failed!", projectfile) end -- failed? if not configs then - utils.error(errors) + if errors then utils.error(errors) end return {} end |
