Skip to content

Commit

Permalink
🚑 Fix os.setenv()
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Feb 3, 2025
1 parent e4010bc commit 886cd03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/texrocks/luarocks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ local config = require('texrocks.config')
local constants = require('texrocks.constants')
local M = {}

if os.setenv == nil then
function os.setenv(_key, _value)
end
end

function M.cli(args)
-- luacheck: ignore 143
---@diagnostic disable: undefined-field
Expand Down

0 comments on commit 886cd03

Please sign in to comment.