Windows Terminal that uses Powershelll adds "
at the end if a folder contains \
at the end
#21065
Unanswered
deadcoder0904
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@deadcoder0904 you forgot PowerShell version 😅
Can you try with latest PowerShell version (7.4.1) ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version: Deno v1.39.2
I faced this bug in
deno
using Windows 11 & thought it was a Windows Terminal bug but others didn't think so I thought it must be a bug with deno on Windows but they didn't think so either.So finally I wanna see if its Powershell bug. Mind you I've faced this bug in Windows Terminal only that uses Powershell in 2 languages: python & deno.
Windows Terminal version
Version: 1.18.3181.0
Windows build number
Microsoft Windows [Version 10.0.22621.2861]
Other Software
deno 1.39.2 (release, x86_64-pc-windows-msvc)
v8 12.0.267.8
typescript 5.3.3
Steps to reproduce
Install deno
Paste the following script in a folder that has a subfolder.
doublequote-bug.ts
Now run it using deno.
Expected Behavior
folderPath
shouldn't have"
at the end & it should look likeroot
This only happens when you have
\
at the end while callingdeno run
.If I remove
\
manually after pressingTab
after typinghow<Tab>
, then bothfolderPath
&root
looks same.This is a source of many bugs that I faced in python as well as deno so I think it's actually a Terminal bug.
Actual Behavior
Here's what I run & the output I get:
Notice the extra double quote near the end of
folderPath
Beta Was this translation helpful? Give feedback.
All reactions