Skip to content

Commit

Permalink
Fixed write line
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKennedy committed Jan 11, 2025
1 parent cd9471a commit fbdad1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/luarocks-rockspec-expander/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
---

local OS = require("ltr.os")
local rockspec = require("ltr.rockspec")
local rockspec_ = require("ltr.rockspec")

--- Make sure `path` follows `"foo-scm-1.rockspec"`.
---
Expand Down Expand Up @@ -65,7 +65,7 @@ local function main()
local modrev = "scm"
local specrev = "1"

rockspec.generate(package_name, modrev, specrev, rockspec_template, {
local rockspec = rockspec_.generate(package_name, modrev, specrev, rockspec_template, {
copy_directories = {},
ref_type = "branch",
git_server_url = "",
Expand All @@ -81,7 +81,7 @@ local function main()
github_event_tbl = "",
})

OS.write_file(rockspec_template, output_path)
OS.write_file(output_path, rockspec)

print(
string.format(
Expand Down

0 comments on commit fbdad1a

Please sign in to comment.