Commit 11efffd
committed
Fix nodegit#1339 Force backslashes with path.posix
Index's addByPath function does not accept backslashes. To ensure
that forward slashes are used, path.posix is used to join paths
together with a forward slash in a platform independent way.
Signed-off-by: Remy Suen <remy.suen@gmail.com>1 parent 113493a commit 11efffd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments