Commit 50ef691
committed
fix:
Previously we manually created the user extensions path from the home directory env variables and concatenated strings on to it. This is only good if the default extensions directory is used. This will fail if the user has changed the directory location with the CLI `code --extensions-dir <path>`
So to fix, we're now getting the user extensions path from where ever this extension is located. The code for this is defined in `setExtensionData` method as committed in 25fab48.
- Changed the construction of the users extensions path in `logDebugInfo` to use the `getExtensionData` method to get the path.
- Removed the unneeded home directory variables.logDebugInfo user extensions path to use getExtensionData.1 parent 25fab48 commit 50ef691
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | 1127 | | |
1131 | 1128 | | |
1132 | | - | |
| 1129 | + | |
1133 | 1130 | | |
1134 | 1131 | | |
1135 | 1132 | | |
| |||
0 commit comments