Repository navigation
Emmet: show error when the path is located outside the current workspace - #8586
Denis Malinochkin (mrmlnc) wants to merge 2 commits into
Conversation
|
By analyzing the blame information on this pull request, we identified Erich Gamma (@egamma) to be a potential reviewer |
|
Hi Denis Malinochkin (@mrmlnc), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
This is the last PR for Emmet, so now you can take a rest from my bad English. 😝 I’m working on improving my English. |
|
Denis Malinochkin (@mrmlnc) thanks, please notice that I've remove the fileAccessor module in the latest. Since this code is only needed by base64.js I've moved the helper there. Can you pls review and adjust this PR. I also wonder whether we should use the IFileService. |
Source: #8569
Description
Just show error when the path is located outside the current workspace.
About
createPathfunctionIt's not necessary to check. The function
createPathonly used in base64.js action:The method (
editor.getFilePath()) always returns the real path to the file.