You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the variable ${relativeFile} is not working for me on Windows 10.
"cmd": "echo '${relativeFile}'" results in this string: '.d:\Development\project\file'.
Had a quick look in the code and it appears that rootFolder.uri.path is a path with forward-slashes while document.fileName is a path with backslashes. This results in the line document.fileName.replace(root, "") not actually replacing anything.
I noticed that rootFolder.uri.fsPath has the correct slashed. But since I'm on Windows I don't know how changing this would affect the other platforms.
Not sure how actively this is looked upon. But I just thought I should report the issue
The text was updated successfully, but these errors were encountered:
the variable
${relativeFile}
is not working for me on Windows 10."cmd": "echo '${relativeFile}'"
results in this string:'.d:\Development\project\file'
.Had a quick look in the code and it appears that
rootFolder.uri.path
is a path with forward-slashes whiledocument.fileName
is a path with backslashes. This results in the linedocument.fileName.replace(root, "")
not actually replacing anything.I noticed that
rootFolder.uri.fsPath
has the correct slashed. But since I'm on Windows I don't know how changing this would affect the other platforms.Not sure how actively this is looked upon. But I just thought I should report the issue
The text was updated successfully, but these errors were encountered: