Commit d1eeeeb
committed
feat: Add slash to alias and aliasPath
This commit modifies the loop over aliases to ensure that both the alias
and the aliasPath have a trailing slash. This is done by introducing a
new function, addSlash, which appends a slash to a string if it does not
already end with one. This change ensures consistent formatting of
aliases and their paths.1 parent 325505d commit d1eeeeb
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments