krdln / shelly

Shelly — very dumb PowerShell script analyzer
MIT License
3 stars 1 forks source link

Nicer warnings on directory import attempt #13

Open krdln opened 6 years ago

krdln commented 6 years ago

When trying to import a directory, eg.:

. $PSScriptRoot\..\Test

the error is weird:

Error: analyzing Error: List of elements in scope of file /home/michal/contrail/ci/Test was requested, but not available due to previous import error

We can do better.