Skip to content

Commit

Permalink
fix new.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jul 28, 2023
1 parent 08c4758 commit ab1a256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/new.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function generate_package(reponame, get_data)
archive.extract(tmpfile, repodir)
os.rm(tmpfile)
else
local giturl = string.format("git@%s:%s.git", host, reponame)
local giturl = string.format("https://%s/%s.git", host, reponame)
repodir = os.tmpfile({ ramdisk = false })

file:print(' add_urls("%s")', giturl)
Expand Down

0 comments on commit ab1a256

Please sign in to comment.