mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
CI: Update to clang-format 11 and apply ternary operator changes
(cherry picked from commit af878716f2
)
This commit is contained in:
parent
ef683e761d
commit
188609e5ab
15 changed files with 41 additions and 39 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue