PowerShell / DSC

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

No error when invalid adapter name is provided #477

Open SteveL-MSFT opened 6 days ago

SteveL-MSFT commented 6 days ago

Prerequisites

Summary

When listing resources and you make a typo in the adapter name, no error is returned. When using --adapter we should check if that returns no results (since it can be a wildcard), then we should error.

Steps to reproduce

dsc resource list --adapter foo

Expected behavior

An error that `foo` is not a valid adapter

Actual behavior

No resources listed

Error details

No response

Environment data

NA

Version

dsc 3.0.0-preview.8

Visuals

No response