Skip to content

Commit

Permalink
Apply precommit run -a.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Oct 15, 2024
1 parent b85821a commit 13d6292
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions modules/desync_otel/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def can_build(env, platform):
except FileNotFoundError:
print("Go not found. desync build skipped.")
return False
except subprocess.CalledProcessError as e:
except subprocess.CalledProcessError:
pass

if platform == "web":
Expand All @@ -25,7 +25,7 @@ def can_build(env, platform):
try:
mingw_version = subprocess.check_output(["gcc", "--version"])
print("MinGW is installed: ", mingw_version)
except Exception as e:
except Exception:
print("MinGW is not installed or not found in PATH")
return False
return True
Expand All @@ -47,7 +47,7 @@ def configure(env):
try:
go_version = subprocess.check_output(["go", "version"])
print("Golang is installed: ", go_version)
except Exception as e:
except Exception:
print("Golang is not installed or not found in PATH")
return False
return True
Expand Down
2 changes: 1 addition & 1 deletion modules/desync_otel/demo/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions modules/desync_otel/register_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/

#ifndef GOLANG_REGISTER_TYPES_H
#define GOLANG_REGISTER_TYPES_H
#ifndef DESYNC_OTEL_REGISTER_TYPES_H
#define DESYNC_OTEL_REGISTER_TYPES_H

#include "modules/register_module_types.h"

void initialize_desync_otel_module(ModuleInitializationLevel p_level);
void uninitialize_desync_otel_module(ModuleInitializationLevel p_level);

#endif // GOLANG_REGISTER_TYPES_H
#endif // DESYNC_OTEL_REGISTER_TYPES_H

0 comments on commit 13d6292

Please sign in to comment.