mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-25 09:12:46 +01:00
Update github.lua
This commit is contained in:
@@ -93,15 +93,13 @@ elseif args[1] == "get" then
|
||||
io.stderr:write("Текущий репозиторий не установлен. Используйте \"github set <путь>\".")
|
||||
else
|
||||
currentRepository = config.readAll(pathToConfig).currentRepository
|
||||
getFromGitHubSafely(userUrl .. "/" .. currentRepository .. "/master/" .. args[2], args[3])
|
||||
getFromGitHubSafely(userUrl .. currentRepository .. "/master/" .. args[2], args[3])
|
||||
end
|
||||
elseif args[1] == "fast" then
|
||||
|
||||
getFromGitHubSafely(userUrl .. args[2], args[3])
|
||||
else
|
||||
printUsage()
|
||||
return
|
||||
end
|
||||
|
||||
getFromGitHub(userUrl..ssilka, put)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user