mirror of
https://github.com/desktop/desktop
synced 2024-09-12 21:01:16 +00:00
Store the full path
This commit is contained in:
parent
1a1ee666ea
commit
a3d6f53baf
|
@ -20,7 +20,7 @@ function getCachedGitIgnores(): Promise<Map<string, string>> {
|
|||
|
||||
cachedGitIgnores = new Map()
|
||||
for (const file of ignoreFiles) {
|
||||
cachedGitIgnores.set(Path.basename(file, GitIgnoreExtension), file)
|
||||
cachedGitIgnores.set(Path.basename(file, GitIgnoreExtension), Path.join(root, file))
|
||||
}
|
||||
|
||||
resolve(cachedGitIgnores)
|
||||
|
|
Loading…
Reference in a new issue