Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 18dfb5f

Browse files
committed
linter
1 parent 7dd5da0 commit 18dfb5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/autorun/!!!sh_plib.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,18 +351,18 @@ end
351351
do
352352

353353
-- Include Function
354-
function AddonInclude( filePath, addonName )
354+
function AddonInclude( filePath, name )
355355
ArgAssert( filePath, 1, 'string' )
356-
ArgAssert( addonName, 2, 'string' )
356+
ArgAssert( name, 2, 'string' )
357357

358358
local stopwatch = SysTime()
359359

360360
-- Include
361361
local ok, err = Include( filePath )
362362
if (ok) then
363-
Info( string_format( 'Addon \'' .. addonName .. '\' successfully included. (Took %.4f seconds)', SysTime() - stopwatch ) )
363+
Info( string_format( 'Addon \'' .. name .. '\' successfully included. (Took %.4f seconds)', SysTime() - stopwatch ) )
364364
else
365-
Error( 'Addon \'' .. addonName .. '\' include failed: ' .. err )
365+
Error( 'Addon \'' .. name .. '\' include failed: ' .. err )
366366
end
367367
end
368368

0 commit comments

Comments
 (0)