Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/lua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ jobs:
neovim: true
version: ${{ matrix.nvim_version }}
- name: Install luajit
uses: leafo/gh-actions-lua@v10
uses: leafo/gh-actions-lua@v11
with:
luaVersion: "luajit-openresty"
- name: Install luarocks
uses: leafo/gh-actions-luarocks@v4
uses: leafo/gh-actions-luarocks@v5
with:
luarocksVersion: "3.8.0"
- name: Run tests
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion lua/gitlab/reviewer/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ end
---@return string|nil
M.get_current_file_oldpath = function()
local file_data = M.get_current_file_data()
return file_data and file_data.oldpath
return file_data and file_data.oldpath or file_data.path
end

---Tell whether current file is renamed or not
Expand Down
Loading