Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_TMP is getting created in the wrong place. #27

Open
flcdrg opened this issue Jul 23, 2021 · 0 comments · May be fixed by #28
Open

_TMP is getting created in the wrong place. #27

flcdrg opened this issue Jul 23, 2021 · 0 comments · May be fixed by #28

Comments

@flcdrg
Copy link
Contributor

flcdrg commented Jul 23, 2021

Noticed that it's not getting created relative to the root on Linux.

eg.

PS /home/david> $tmpDir = [System.IO.Path]::Combine($PWD, '_TMP')
PS /home/david> $tmpDir
/home/david/_TMP
PS /home/david> New-Item -Name $tmpDir -ItemType Directory -Force -ErrorAction Ignore

    Directory: /home/david/home/david

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          07/23/2021    15:44                _TMP

Looks like New-Item is always relative to current directory on Linux. Strange but oh well.

flcdrg added a commit to flcdrg/dotnet-tests-report that referenced this issue Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant