Skip to content

Commit

Permalink
fix is_windows check (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
juansalvatore authored Jun 28, 2024
1 parent ca26185 commit e44e44e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/git-dashboard-nvim/git.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local utils = require("git-dashboard-nvim.utils")
local config = require("git-dashboard-nvim.config")
local is_windows = vim.fn.has("win32")

local is_windows = vim.fn.has("win32") == 1
local null = is_windows and "NUL" or "/dev/null"

Git = {}
Expand Down

0 comments on commit e44e44e

Please sign in to comment.