mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
CI: Update to clang-format 11 and apply ternary operator changes
This commit is contained in:
parent
df257f4fb6
commit
af878716f2
16 changed files with 57 additions and 43 deletions
|
@ -3584,9 +3584,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