Commit 03777ca
fix(windows): handle Windows file paths correctly in refile (#1042)
* fix(windows): handle Windows file paths correctly in refile
There was a bug on Windows where the first character of the file name was dropped during refile. This happened because an extra leading / was added to the beginning of the path, resulting in something like: `/C:/org/file.org` which was then displayed as: `ile.org`.
Some issue was reported in #911, but not fixed on Windows.
* apply reviewer suggestion for Windows path handling
Co-authored-by: Kristijan Husak <husakkristijan@gmail.com>
---------
Co-authored-by: Kristijan Husak <husakkristijan@gmail.com>1 parent 4775d1a commit 03777ca
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| |||
0 commit comments