-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
Run the script while not in the same folder that the script is in and it will add the pwd not script root in the path.
PS C:\Test> C:\dsc\add-path.ps1
Added C:\Test to $env:PATH
Expected behavior
Added C:\dsc to $env:PATH
Actual behavior
Added C:\Test to $env:PATH
Error details
No response
Environment data
7.4-preview4
Version
3.0-alpha1
Visuals
No response
Metadata
Metadata
Assignees
Labels
No labels