PowerShell / DSC

This repo is for the DSC v3 project
MIT License
142 stars 22 forks source link

`DSCConfigRoot` should be absolute and not relative #317

Closed SteveL-MSFT closed 4 months ago

SteveL-MSFT commented 5 months ago

Prerequisites

Steps to reproduce

dsc -l debug config get -p ./dsc/examples/osinfo.dsc.json

Expected behavior

2024-02-15T23:35:29.425750Z DEBUG dsc: 36: Running dsc 3.0.0-alpha.5
2024-02-15T23:35:29.425784Z DEBUG dsc::util: 419: Setting 'DSCConfigRoot' env var as '/Users/steve/repos/DSC/dsc/examples'

Actual behavior

2024-02-15T23:35:29.425750Z DEBUG dsc: 36: Running dsc 3.0.0-alpha.5
2024-02-15T23:35:29.425784Z DEBUG dsc::util: 419: Setting 'DSCConfigRoot' env var as './dsc/examples'

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.5.0-preview.1
PSEdition                      Core
GitCommitId                    7.5.0-preview.1
OS                             Darwin 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8103
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

3.0.0-alpha.5

Visuals

No response