Skip to content

Commit

Permalink
fix lua workingdir
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 20, 2024
1 parent 3c19344 commit 1d15ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xmake/plugins/lua/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ end

function main()

-- restore to the current working directory
os.cd(os.workingdir())

-- list builtin scripts
if option.get("list") then
return _list()
Expand Down

0 comments on commit 1d15ef8

Please sign in to comment.