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

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown-gd committed Dec 8, 2022
1 parent 7dd5da0 commit 18dfb5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/autorun/!!!sh_plib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -351,18 +351,18 @@ end
do

-- Include Function
function AddonInclude( filePath, addonName )
function AddonInclude( filePath, name )
ArgAssert( filePath, 1, 'string' )
ArgAssert( addonName, 2, 'string' )
ArgAssert( name, 2, 'string' )

local stopwatch = SysTime()

-- Include
local ok, err = Include( filePath )
if (ok) then
Info( string_format( 'Addon \'' .. addonName .. '\' successfully included. (Took %.4f seconds)', SysTime() - stopwatch ) )
Info( string_format( 'Addon \'' .. name .. '\' successfully included. (Took %.4f seconds)', SysTime() - stopwatch ) )
else
Error( 'Addon \'' .. addonName .. '\' include failed: ' .. err )
Error( 'Addon \'' .. name .. '\' include failed: ' .. err )
end
end

Expand Down

0 comments on commit 18dfb5f

Please sign in to comment.