Commit 02c38d1
committed
feat: Improve alias path resolution in getAbsPath
This commit refactors the getAbsPath function to improve the resolution
of alias paths. It removes unnecessary variables and adds a condition
to handle cases where the file is exactly equal to the alias. It also
ensures that the aliasPath is always appended with a slash.1 parent 97ae724 commit 02c38d1
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
57 | 55 | | |
58 | | - | |
| 56 | + | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
0 commit comments