File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -750,11 +750,9 @@ function scm:checkRequirements(name, localPath)
750750 scm :log (" Checking requirements of " .. name .. " ..." )
751751 local file
752752 if localPath then
753- file = fs .open (localPath )
754- elseif fs .exists (" ./" ..
755- self .config [" libraryDirectory" ] .. name .. self .config [" librarySuffix" ] .. " /" .. name .. " .lua" ) then
756- file = fs .open (" ./" ..
757- self .config [" libraryDirectory" ] .. name .. self .config [" librarySuffix" ] .. " /" .. name .. " .lua" , " r" )
753+ file = fs .open (localPath , " r" )
754+ elseif fs .exists (" ./" .. self .config [" libraryDirectory" ] .. name .. self .config [" librarySuffix" ] .. " /" .. name .. " .lua" ) then
755+ file = fs .open (" ./" .. self .config [" libraryDirectory" ] .. name .. self .config [" librarySuffix" ] .. " /" .. name .. " .lua" , " r" )
758756 else
759757 file = fs .open (" ./" .. self .config [" libraryDirectory" ] .. name .. " .lua" , " r" )
760758 end
You can’t perform that action at this time.
0 commit comments