Skip to content

Commit

Permalink
fix: remove type restriction when searching for justfile (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tissieres authored Oct 10, 2023
1 parent 4b811f8 commit 0be4966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/overseer/template/just.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local function get_justfile(opts)
name = name:lower()
return name == "justfile" or name == ".justfile"
end
return vim.fs.find(is_justfile, { upward = true, type = "file", path = opts.dir })[1]
return vim.fs.find(is_justfile, { upward = true, path = opts.dir })[1]
end

---@type overseer.TemplateFileProvider
Expand Down

0 comments on commit 0be4966

Please sign in to comment.