Skip to content

Commit c995206

Browse files
authored
Refactor file padding
1 parent 0fe6eec commit c995206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HashifyNETCLI/Core/ScriptEngine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// *
1+
// *
22
// *****************************************************************************
33
// *
44
// * Copyright (c) 2025 Deskasoft International
@@ -44,6 +44,7 @@ public ScriptEngine()
4444
{
4545
_luaState = new Lua();
4646
_luaState.State.Encoding = Encoding.UTF8;
47+
4748
_luaState.LoadCLRPackage();
4849
_luaState.DoString("import ('HashifyNet', 'HashifyNet')");
4950
_luaState.DoString("import ('HashifyNETCLI', 'HashifyNETCLI')");
@@ -59,7 +60,6 @@ public ScriptEngine()
5960
private static void PushLuaHelpers(Lua state, Type staticType)
6061
{
6162
MethodInfo[] mis = staticType.GetMethods(BindingFlags.Public | BindingFlags.Static);
62-
6363
if (mis.Length < 1)
6464
{
6565
Logger.Warning($"No public static method available in '{staticType.FullName}' to bind into Lua.");

0 commit comments

Comments
 (0)