Store the full path

This commit is contained in:
joshaber 2016-12-07 16:06:50 -05:00
parent 1a1ee666ea
commit a3d6f53baf

View file

@ -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)