CI: Update to clang-format 11 and apply ternary operator changes

(cherry picked from commit af878716f2)
This commit is contained in:
Rémi Verschelde 2021-01-12 16:57:55 +01:00
parent ef683e761d
commit 188609e5ab
No known key found for this signature in database
GPG key ID: C3336907360768E1
15 changed files with 41 additions and 39 deletions

View file

@ -3361,9 +3361,9 @@ Error CSharpScript::load_source_code(const String &p_path) {
ERR_FAIL_COND_V_MSG(ferr != OK, ferr,
ferr == ERR_INVALID_DATA ?
"Script '" + p_path + "' contains invalid unicode (UTF-8), so it was not loaded."
"Script '" + p_path + "' contains invalid unicode (UTF-8), so it was not loaded."
" Please ensure that scripts are saved in valid UTF-8 unicode." :
"Failed to read file: '" + p_path + "'.");
"Failed to read file: '" + p_path + "'.");
#ifdef TOOLS_ENABLED
source_changed_cache = true;