Commit f5ec201
authored
fix: class name updater does not support absolute paths (#803)
Closes #802
If the path given to class name updater is an absolute path, the tool raises an error.
It adds the current working dir regardless of the path type.
This patch fixes this issue and only adds the current working dir if the file path is not absolute.1 parent 0f187d7 commit f5ec201
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments