mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-05 23:27:40 +00:00
Merge pull request #665 from keymanapp/developer-fail-on-warning-refix
Test that project is present before attempting to check project options in build
This commit is contained in:
commit
e81d7905a7
1 changed files with 4 additions and 1 deletions
|
|
@ -344,7 +344,10 @@ begin
|
|||
Callback, CKF_KEYMANWEB) > 0 then // I3482 // I4866 // I4865
|
||||
// TODO: Free fk
|
||||
begin
|
||||
if AOwnerProject.CompilerMessageFile.HasCompileWarning and FCompilerWarningsAsErrors then
|
||||
if Assigned(AOwnerProject) and
|
||||
Assigned(AOwnerProject.CompilerMessageFile) and
|
||||
AOwnerProject.CompilerMessageFile.HasCompileWarning and
|
||||
FCompilerWarningsAsErrors then
|
||||
FError := True;
|
||||
|
||||
if not FError then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue