Skip to content

Commit a1bc307

Browse files
committed
Use path from const table
1 parent e58c87d commit a1bc307

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/cmake-tools/scanner.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
local const = require("cmake-tools.const")
12
local scanner = {}
23
-- Configuration
3-
scanner.HOME = os.getenv("HOME") or os.getenv("USERPROFILE")
4-
scanner.KITS_FILE = scanner.HOME .. "/.config/cmake-tools/cmake-kits.json"
4+
scanner.KITS_FILE = const.cmake_kits_path
55

66
--Helper functions
77
-- Simple JSON encoder

0 commit comments

Comments
 (0)